diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 04:30:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-16 04:30:38 +0000 |
commit | 4e5936ef9501da7d2f010d8c4f3703505b28b2c5 (patch) | |
tree | 0fb5b9eaab153b533ffe5b228d70f05ebf0b3b16 /coreutils/test.c | |
parent | 5c63a729681991c86fc94fbe6f9f18b8cf876810 (diff) | |
download | busybox-w32-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.tar.gz busybox-w32-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.tar.bz2 busybox-w32-4e5936ef9501da7d2f010d8c4f3703505b28b2c5.zip |
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 cec3c471d..3da2daecd 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -310,7 +310,7 @@ static arith_t primary(enum token n) | |||
310 | return strlen(*t_wp) > 0; | 310 | return strlen(*t_wp) > 0; |
311 | } | 311 | } |
312 | 312 | ||
313 | static int binop() | 313 | static int binop(void) |
314 | { | 314 | { |
315 | const char *opnd1, *opnd2; | 315 | const char *opnd1, *opnd2; |
316 | struct t_op const *op; | 316 | struct t_op const *op; |
@@ -537,7 +537,7 @@ static int test_eaccess(char *path, int mode) | |||
537 | return (-1); | 537 | return (-1); |
538 | } | 538 | } |
539 | 539 | ||
540 | static void initialize_group_array() | 540 | static void initialize_group_array(void) |
541 | { | 541 | { |
542 | ngroups = getgroups(0, NULL); | 542 | ngroups = getgroups(0, NULL); |
543 | group_array = xrealloc(group_array, ngroups * sizeof(gid_t)); | 543 | group_array = xrealloc(group_array, ngroups * sizeof(gid_t)); |