diff options
-rw-r--r-- | cmdedit.h | 6 | ||||
-rw-r--r-- | shell/cmdedit.h | 6 |
2 files changed, 0 insertions, 12 deletions
@@ -1,14 +1,8 @@ | |||
1 | #ifndef CMDEDIT_H | 1 | #ifndef CMDEDIT_H |
2 | #define CMDEDIT_H | 2 | #define CMDEDIT_H |
3 | 3 | ||
4 | #ifdef BB_FEATURE_COMMAND_EDITING | ||
5 | #include <stddef.h> | ||
6 | #include "busybox.h" | ||
7 | |||
8 | void cmdedit_init(void); | 4 | void cmdedit_init(void); |
9 | void cmdedit_terminate(void); | 5 | void cmdedit_terminate(void); |
10 | void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */ | 6 | void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */ |
11 | 7 | ||
12 | #endif /* BB_FEATURE_COMMAND_EDITING */ | ||
13 | |||
14 | #endif /* CMDEDIT_H */ | 8 | #endif /* CMDEDIT_H */ |
diff --git a/shell/cmdedit.h b/shell/cmdedit.h index 0ab94c6ce..9e3e44b36 100644 --- a/shell/cmdedit.h +++ b/shell/cmdedit.h | |||
@@ -1,14 +1,8 @@ | |||
1 | #ifndef CMDEDIT_H | 1 | #ifndef CMDEDIT_H |
2 | #define CMDEDIT_H | 2 | #define CMDEDIT_H |
3 | 3 | ||
4 | #ifdef BB_FEATURE_COMMAND_EDITING | ||
5 | #include <stddef.h> | ||
6 | #include "busybox.h" | ||
7 | |||
8 | void cmdedit_init(void); | 4 | void cmdedit_init(void); |
9 | void cmdedit_terminate(void); | 5 | void cmdedit_terminate(void); |
10 | void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */ | 6 | void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */ |
11 | 7 | ||
12 | #endif /* BB_FEATURE_COMMAND_EDITING */ | ||
13 | |||
14 | #endif /* CMDEDIT_H */ | 8 | #endif /* CMDEDIT_H */ |