Use global applet_name instead of local versions.
[oweals/busybox.git] / cmdedit.h
index 0e465e50e3a503d4eb088da46edbec75e8efe5fd..b621ae8ec88932e2a56931202b2dd7de62f32d07 100644 (file)
--- a/cmdedit.h
+++ b/cmdedit.h
@@ -1,5 +1,5 @@
-#ifndef GETLINE_H
-#define GETLINE_H
+#ifndef CMDEDIT_H
+#define CMDEDIT_H
 
 /* unix systems can #define POSIX to use termios, otherwise 
  * the bsd or sysv interface will be used 
@@ -10,6 +10,7 @@
 
 typedef size_t (*cmdedit_strwidth_proc)(char *);
 
+void cmdedit_init(void);
 void cmdedit_read_input(char* promptStr, char* command);               /* read a line of input */
 void cmdedit_setwidth(int);            /* specify width of screen */
 void cmdedit_histadd(char *);          /* adds entries to hist */
@@ -21,6 +22,7 @@ extern int    (*cmdedit_tab_hook)(char *, int, int *);
 
 #else  /* not __STDC__ */
 
+void cmdedit_init(void);
 void cmdedit_read_input(char* promptStr, char* command);
 void cmdedit_setwidth();
 void cmdedit_histadd();
@@ -32,4 +34,4 @@ extern int    (*cmdedit_tab_hook)();
 
 #endif /* __STDC__ */
 
-#endif /* GETLINE_H */
+#endif /* CMDEDIT_H */