aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 740c25528..1c9198945 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1984,6 +1984,7 @@ unsigned size_from_HISTFILESIZE(const char *hp) FAST_FUNC;
1984# define MAX_HISTORY 0 1984# define MAX_HISTORY 0
1985# endif 1985# endif
1986typedef const char *get_exe_name_t(int i) FAST_FUNC; 1986typedef const char *get_exe_name_t(int i) FAST_FUNC;
1987typedef const char *sh_get_var_t(const char *name) FAST_FUNC;
1987typedef struct line_input_t { 1988typedef struct line_input_t {
1988 int flags; 1989 int flags;
1989 int timeout; 1990 int timeout;
@@ -1997,9 +1998,8 @@ typedef struct line_input_t {
1997# if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH 1998# if ENABLE_SHELL_ASH || ENABLE_SHELL_HUSH
1998 /* function to fetch additional application-specific names to match */ 1999 /* function to fetch additional application-specific names to match */
1999 get_exe_name_t *get_exe_name; 2000 get_exe_name_t *get_exe_name;
2000# define EDITING_HAS_get_exe_name 1 2001 /* function to fetch value of shell variable */
2001# else 2002 sh_get_var_t *sh_get_var;
2002# define EDITING_HAS_get_exe_name 0
2003# endif 2003# endif
2004# endif 2004# endif
2005# if MAX_HISTORY 2005# if MAX_HISTORY
@@ -2053,11 +2053,6 @@ int read_line_input(const char* prompt, char* command, int maxsize) FAST_FUNC;
2053 read_line_input(prompt, command, maxsize) 2053 read_line_input(prompt, command, maxsize)
2054#endif 2054#endif
2055 2055
2056#ifndef EDITING_HAS_get_exe_name
2057# define EDITING_HAS_get_exe_name 0
2058#endif
2059
2060
2061#ifndef COMM_LEN 2056#ifndef COMM_LEN
2062# ifdef TASK_COMM_LEN 2057# ifdef TASK_COMM_LEN
2063enum { COMM_LEN = TASK_COMM_LEN }; 2058enum { COMM_LEN = TASK_COMM_LEN };