diff options
author | Mike Frysinger | 2005-04-16 04:30:38 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-04-16 04:30:38 +0000 |
commit | 4e5936ef9501da7d2f010d8c4f3703505b28b2c5 (patch) | |
tree | 0fb5b9eaab153b533ffe5b228d70f05ebf0b3b16 /coreutils/test.c | |
parent | 5c63a729681991c86fc94fbe6f9f18b8cf876810 (diff) | |
download | busybox-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.zip busybox-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.tar.gz |
In Bug 208, bernhardf writes:
On machines with only ANSI compliant compilers, not explitily delcaring
an empty parameter list 'void' causes failure.
Diffstat (limited to 'coreutils/test.c')
-rw-r--r-- | coreutils/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index cec3c47..3da2dae 100644 --- a/coreutils/test.c +++ b/coreutils/test.c @@ -310,7 +310,7 @@ static arith_t primary(enum token n) return strlen(*t_wp) > 0; } -static int binop() +static int binop(void) { const char *opnd1, *opnd2; struct t_op const *op; @@ -537,7 +537,7 @@ static int test_eaccess(char *path, int mode) return (-1); } -static void initialize_group_array() +static void initialize_group_array(void) { ngroups = getgroups(0, NULL); group_array = xrealloc(group_array, ngroups * sizeof(gid_t)); |