diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/libbb.h b/include/libbb.h index 6aeec249d..abbc9ac59 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1924,6 +1924,7 @@ unsigned size_from_HISTFILESIZE(const char *hp) FAST_FUNC; | |||
1924 | # define MAX_HISTORY 0 | 1924 | # define MAX_HISTORY 0 |
1925 | # endif | 1925 | # endif |
1926 | typedef const char *get_exe_name_t(int i) FAST_FUNC; | 1926 | typedef const char *get_exe_name_t(int i) FAST_FUNC; |
1927 | typedef const char *sh_get_var_t(const char *name) FAST_FUNC; | ||
1927 | typedef struct line_input_t { | 1928 | typedef struct line_input_t { |
1928 | int flags; | 1929 | int flags; |
1929 | int timeout; | 1930 | int timeout; |
@@ -1937,9 +1938,8 @@ typedef struct line_input_t { | |||
1937 | # if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH | 1938 | # if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH |
1938 | /* function to fetch additional application-specific names to match */ | 1939 | /* function to fetch additional application-specific names to match */ |
1939 | get_exe_name_t *get_exe_name; | 1940 | get_exe_name_t *get_exe_name; |
1940 | # define EDITING_HAS_get_exe_name 1 | 1941 | /* function to fetch value of shell variable */ |
1941 | # else | 1942 | sh_get_var_t *sh_get_var; |
1942 | # define EDITING_HAS_get_exe_name 0 | ||
1943 | # endif | 1943 | # endif |
1944 | # endif | 1944 | # endif |
1945 | # if MAX_HISTORY | 1945 | # if MAX_HISTORY |
@@ -1993,11 +1993,6 @@ int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC; | |||
1993 | read_line_input(prompt, command, maxsize) | 1993 | read_line_input(prompt, command, maxsize) |
1994 | #endif | 1994 | #endif |
1995 | 1995 | ||
1996 | #ifndef EDITING_HAS_get_exe_name | ||
1997 | # define EDITING_HAS_get_exe_name 0 | ||
1998 | #endif | ||
1999 | |||
2000 | |||
2001 | #ifndef COMM_LEN | 1996 | #ifndef COMM_LEN |
2002 | # ifdef TASK_COMM_LEN | 1997 | # ifdef TASK_COMM_LEN |
2003 | enum { COMM_LEN = TASK_COMM_LEN }; | 1998 | enum { COMM_LEN = TASK_COMM_LEN }; |