diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-10-09 11:38:45 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-10-09 11:38:45 +0000 |
| commit | b6e2e8d1939ea77cb637b408eb4f67c5ff7b3bcc (patch) | |
| tree | 921712f6e9333c2461f1cb223a07b00bd37f870d | |
| parent | a9b86dab6318efbb536d8ce24b823efbdb87f178 (diff) | |
| download | busybox-w32-b6e2e8d1939ea77cb637b408eb4f67c5ff7b3bcc.tar.gz busybox-w32-b6e2e8d1939ea77cb637b408eb4f67c5ff7b3bcc.tar.bz2 busybox-w32-b6e2e8d1939ea77cb637b408eb4f67c5ff7b3bcc.zip | |
Patch from Steven Scholz, fix some warnings
git-svn-id: svn://busybox.net/trunk/busybox@7625 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | coreutils/chgrp.c | 1 | ||||
| -rw-r--r-- | miscutils/hdparm.c | 2 | ||||
| -rw-r--r-- | util-linux/rdate.c | 3 |
3 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c index 8c969d7b6..93e493869 100644 --- a/coreutils/chgrp.c +++ b/coreutils/chgrp.c | |||
| @@ -48,7 +48,6 @@ int chgrp_main(int argc, char **argv) | |||
| 48 | long gid; | 48 | long gid; |
| 49 | int recursiveFlag; | 49 | int recursiveFlag; |
| 50 | int retval = EXIT_SUCCESS; | 50 | int retval = EXIT_SUCCESS; |
| 51 | char *p; | ||
| 52 | 51 | ||
| 53 | recursiveFlag = bb_getopt_ulflags(argc, argv, "R"); | 52 | recursiveFlag = bb_getopt_ulflags(argc, argv, "R"); |
| 54 | 53 | ||
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 017d5bf19..52dc11a28 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | #include <asm/byteorder.h> | 48 | #include <asm/byteorder.h> |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | #if __BYTE_ORDER == __BIG_ENDIAN | 51 | #if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN) |
| 52 | #define __USE_XOPEN | 52 | #define __USE_XOPEN |
| 53 | #endif | 53 | #endif |
| 54 | 54 | ||
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 | } |
