diff options
| author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-10-09 11:38:45 +0000 |
|---|---|---|
| committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-10-09 11:38:45 +0000 |
| commit | a55d72bbb419215d76465d484bfeee84308af0bc (patch) | |
| tree | 921712f6e9333c2461f1cb223a07b00bd37f870d /util-linux | |
| parent | 99825960c18de59afb6906ba05df5671793edaf0 (diff) | |
| download | busybox-w32-a55d72bbb419215d76465d484bfeee84308af0bc.tar.gz busybox-w32-a55d72bbb419215d76465d484bfeee84308af0bc.tar.bz2 busybox-w32-a55d72bbb419215d76465d484bfeee84308af0bc.zip | |
Patch from Steven Scholz, fix some warnings
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/rdate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c index 70dcb24e9..8d156cc78 100644 --- a/util-linux/rdate.c +++ b/util-linux/rdate.c | |||
| @@ -33,12 +33,13 @@ | |||
| 33 | #include <stdlib.h> | 33 | #include <stdlib.h> |
| 34 | #include <unistd.h> | 34 | #include <unistd.h> |
| 35 | #include <signal.h> | 35 | #include <signal.h> |
| 36 | |||
| 36 | #include "busybox.h" | 37 | #include "busybox.h" |
| 37 | 38 | ||
| 38 | 39 | ||
| 39 | static const int RFC_868_BIAS = 2208988800UL; | 40 | static const int RFC_868_BIAS = 2208988800UL; |
| 40 | 41 | ||
| 41 | static void socket_timeout(void) | 42 | static void socket_timeout(int sig) |
| 42 | { | 43 | { |
| 43 | bb_error_msg_and_die("timeout connecting to time server"); | 44 | bb_error_msg_and_die("timeout connecting to time server"); |
| 44 | } | 45 | } |
