diff options
author | Ron Yorston <rmy@pobox.com> | 2022-06-27 11:23:39 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2022-06-27 11:23:39 +0100 |
commit | b0f279a48f5f7e57b6f6e941e4b59e9a1bc54548 (patch) | |
tree | 86430f2929d8e3eb162bcb83c512bf8a0fffe322 /include | |
parent | 164a4253b1b16f3923b175f425074ef2d1b04377 (diff) | |
parent | 2617a5e4c600b4577b2c18f794701276e55da43b (diff) | |
download | busybox-w32-b0f279a48f5f7e57b6f6e941e4b59e9a1bc54548.tar.gz busybox-w32-b0f279a48f5f7e57b6f6e941e4b59e9a1bc54548.tar.bz2 busybox-w32-b0f279a48f5f7e57b6f6e941e4b59e9a1bc54548.zip |
Merge branch 'busybox' into merge
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 6e4e7583f..c5691c76d 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1992,6 +1992,7 @@ unsigned size_from_HISTFILESIZE(const char *hp) FAST_FUNC; | |||
1992 | # define MAX_HISTORY 0 | 1992 | # define MAX_HISTORY 0 |
1993 | # endif | 1993 | # endif |
1994 | typedef const char *get_exe_name_t(int i) FAST_FUNC; | 1994 | typedef const char *get_exe_name_t(int i) FAST_FUNC; |
1995 | typedef const char *sh_get_var_t(const char *name) FAST_FUNC; | ||
1995 | typedef struct line_input_t { | 1996 | typedef struct line_input_t { |
1996 | int flags; | 1997 | int flags; |
1997 | int timeout; | 1998 | int timeout; |
@@ -2005,9 +2006,8 @@ typedef struct line_input_t { | |||
2005 | # if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH | 2006 | # if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH |
2006 | /* function to fetch additional application-specific names to match */ | 2007 | /* function to fetch additional application-specific names to match */ |
2007 | get_exe_name_t *get_exe_name; | 2008 | get_exe_name_t *get_exe_name; |
2008 | # define EDITING_HAS_get_exe_name 1 | 2009 | /* function to fetch value of shell variable */ |
2009 | # else | 2010 | sh_get_var_t *sh_get_var; |
2010 | # define EDITING_HAS_get_exe_name 0 | ||
2011 | # endif | 2011 | # endif |
2012 | # endif | 2012 | # endif |
2013 | # if MAX_HISTORY | 2013 | # if MAX_HISTORY |
@@ -2061,11 +2061,6 @@ int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC; | |||
2061 | read_line_input(prompt, command, maxsize) | 2061 | read_line_input(prompt, command, maxsize) |
2062 | #endif | 2062 | #endif |
2063 | 2063 | ||
2064 | #ifndef EDITING_HAS_get_exe_name | ||
2065 | # define EDITING_HAS_get_exe_name 0 | ||
2066 | #endif | ||
2067 | |||
2068 | |||
2069 | #ifndef COMM_LEN | 2064 | #ifndef COMM_LEN |
2070 | # ifdef TASK_COMM_LEN | 2065 | # ifdef TASK_COMM_LEN |
2071 | enum { COMM_LEN = TASK_COMM_LEN }; | 2066 | enum { COMM_LEN = TASK_COMM_LEN }; |