aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-02 09:52:40 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-02 09:52:40 +0000
commitba1f58a92dcee3be0b6fd8ba5aac1bebc9335a24 (patch)
tree762e3eb43a849bb8ac37537c8943fe2f8148fb4f /shell
parent4a9cf8848122fe055f1a5f71b9acb2e4aadf5b69 (diff)
downloadbusybox-w32-ba1f58a92dcee3be0b6fd8ba5aac1bebc9335a24.tar.gz
busybox-w32-ba1f58a92dcee3be0b6fd8ba5aac1bebc9335a24.tar.bz2
busybox-w32-ba1f58a92dcee3be0b6fd8ba5aac1bebc9335a24.zip
Teach libc5 what a sighandler_t is
-Erik git-svn-id: svn://busybox.net/trunk/busybox@3190 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/cmdedit.c4
1 files changed, 4 insertions, 0 deletions
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)
169typedef void (*sighandler_t) (int);
170#endif
167 171
168static void cmdedit_setwidth(int w, int redraw_flg); 172static void cmdedit_setwidth(int w, int redraw_flg);
169 173