diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-12-01 19:02:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-12-01 19:02:24 +0000 |
commit | 87559829ffc79b94adcee00b64706ce78ff2f3fb (patch) | |
tree | 75120bd48cfcb5744e62162b9110e67bf1faa2e4 /shell | |
parent | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (diff) | |
download | busybox-w32-87559829ffc79b94adcee00b64706ce78ff2f3fb.tar.gz busybox-w32-87559829ffc79b94adcee00b64706ce78ff2f3fb.tar.bz2 busybox-w32-87559829ffc79b94adcee00b64706ce78ff2f3fb.zip |
Remove #ifdef __STDC__ junk. We don't do K&R round these parts,
so no point acting like we do.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/cmdedit.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h index 27f7b5500..8ebf0d064 100644 --- a/shell/cmdedit.h +++ b/shell/cmdedit.h | |||
@@ -1,11 +1,11 @@ | |||
1 | #ifndef CMDEDIT_H | 1 | #ifndef CMDEDIT_H |
2 | #define CMDEDIT_H | 2 | #define CMDEDIT_H |
3 | 3 | ||
4 | #ifdef BB_FEATURE_SH_COMMAND_EDITING | ||
4 | /* unix systems can #define POSIX to use termios, otherwise | 5 | /* unix systems can #define POSIX to use termios, otherwise |
5 | * the bsd or sysv interface will be used | 6 | * the bsd or sysv interface will be used |
6 | */ | 7 | */ |
7 | 8 | ||
8 | #ifdef __STDC__ | ||
9 | #include <stddef.h> | 9 | #include <stddef.h> |
10 | 10 | ||
11 | typedef size_t (*cmdedit_strwidth_proc)(char *); | 11 | typedef size_t (*cmdedit_strwidth_proc)(char *); |
@@ -21,18 +21,6 @@ extern int (*cmdedit_in_hook)(char *); | |||
21 | extern int (*cmdedit_out_hook)(char *); | 21 | extern int (*cmdedit_out_hook)(char *); |
22 | extern int (*cmdedit_tab_hook)(char *, int, int *); | 22 | extern int (*cmdedit_tab_hook)(char *, int, int *); |
23 | 23 | ||
24 | #else /* not __STDC__ */ | 24 | #endif /* BB_FEATURE_SH_COMMAND_EDITING */ |
25 | |||
26 | void cmdedit_init(void); | ||
27 | void cmdedit_read_input(char* promptStr, char* command); | ||
28 | void cmdedit_setwidth(); | ||
29 | void cmdedit_histadd(); | ||
30 | void cmdedit_strwidth(); | ||
31 | |||
32 | extern int (*cmdedit_in_hook)(); | ||
33 | extern int (*cmdedit_out_hook)(); | ||
34 | extern int (*cmdedit_tab_hook)(); | ||
35 | |||
36 | #endif /* __STDC__ */ | ||
37 | 25 | ||
38 | #endif /* CMDEDIT_H */ | 26 | #endif /* CMDEDIT_H */ |