mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Patch from Steven Scholz, fix some warnings
This commit is contained in:
parent
99825960c1
commit
a55d72bbb4
@ -48,7 +48,6 @@ int chgrp_main(int argc, char **argv)
|
|||||||
long gid;
|
long gid;
|
||||||
int recursiveFlag;
|
int recursiveFlag;
|
||||||
int retval = EXIT_SUCCESS;
|
int retval = EXIT_SUCCESS;
|
||||||
char *p;
|
|
||||||
|
|
||||||
recursiveFlag = bb_getopt_ulflags(argc, argv, "R");
|
recursiveFlag = bb_getopt_ulflags(argc, argv, "R");
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
|
||||||
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
#if (__BYTE_ORDER == __BIG_ENDIAN) && !defined(__USE_XOPEN)
|
||||||
#define __USE_XOPEN
|
#define __USE_XOPEN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -33,12 +33,13 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#include "busybox.h"
|
#include "busybox.h"
|
||||||
|
|
||||||
|
|
||||||
static const int RFC_868_BIAS = 2208988800UL;
|
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");
|
bb_error_msg_and_die("timeout connecting to time server");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user