summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorGlenn L McGrath2003-10-09 11:38:45 +0000
committerGlenn L McGrath2003-10-09 11:38:45 +0000
commita55d72bbb419215d76465d484bfeee84308af0bc (patch)
tree921712f6e9333c2461f1cb223a07b00bd37f870d /util-linux
parent99825960c18de59afb6906ba05df5671793edaf0 (diff)
downloadbusybox-a55d72bbb419215d76465d484bfeee84308af0bc.zip
busybox-a55d72bbb419215d76465d484bfeee84308af0bc.tar.gz
Patch from Steven Scholz, fix some warnings
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/rdate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
index 70dcb24..8d156cc 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -33,12 +33,13 @@
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
+
#include "busybox.h"
static const int RFC_868_BIAS = 2208988800UL;
-static void socket_timeout(void)
+static void socket_timeout(int sig)
{
bb_error_msg_and_die("timeout connecting to time server");
}