diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-02 09:52:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-02 09:52:40 +0000 |
commit | 95b520110dc1ee6ee670817fdd6312a8565cf34c (patch) | |
tree | 762e3eb43a849bb8ac37537c8943fe2f8148fb4f | |
parent | deba6dea0340465af76624f9ef3a0bbe28130d8a (diff) | |
download | busybox-w32-95b520110dc1ee6ee670817fdd6312a8565cf34c.tar.gz busybox-w32-95b520110dc1ee6ee670817fdd6312a8565cf34c.tar.bz2 busybox-w32-95b520110dc1ee6ee670817fdd6312a8565cf34c.zip |
Teach libc5 what a sighandler_t is
-Erik
-rw-r--r-- | cmdedit.c | 4 | ||||
-rw-r--r-- | shell/cmdedit.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -164,6 +164,10 @@ static int my_gid; | |||
164 | 164 | ||
165 | #endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */ | 165 | #endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */ |
166 | 166 | ||
167 | /* It seems that libc5 doesn't know what a sighandler_t is... */ | ||
168 | #if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) | ||
169 | typedef void (*sighandler_t) (int); | ||
170 | #endif | ||
167 | 171 | ||
168 | static void cmdedit_setwidth(int w, int redraw_flg); | 172 | static void cmdedit_setwidth(int w, int redraw_flg); |
169 | 173 | ||
diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 6386ea042..16ec2f823 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c | |||
@@ -164,6 +164,10 @@ static int my_gid; | |||
164 | 164 | ||
165 | #endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */ | 165 | #endif /* BB_FEATURE_COMMAND_TAB_COMPLETION */ |
166 | 166 | ||
167 | /* It seems that libc5 doesn't know what a sighandler_t is... */ | ||
168 | #if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) | ||
169 | typedef void (*sighandler_t) (int); | ||
170 | #endif | ||
167 | 171 | ||
168 | static void cmdedit_setwidth(int w, int redraw_flg); | 172 | static void cmdedit_setwidth(int w, int redraw_flg); |
169 | 173 | ||