aboutsummaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-16 04:30:38 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-04-16 04:30:38 +0000
commitbcffd7a80dbf6f6d58670849274394733efde967 (patch)
tree0fb5b9eaab153b533ffe5b228d70f05ebf0b3b16 /coreutils/test.c
parentcdc31e7af53136fb35d2c1bfe4db80df8522f5a4 (diff)
downloadbusybox-w32-bcffd7a80dbf6f6d58670849274394733efde967.tar.gz
busybox-w32-bcffd7a80dbf6f6d58670849274394733efde967.tar.bz2
busybox-w32-bcffd7a80dbf6f6d58670849274394733efde967.zip
In Bug 208, bernhardf writes:
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure. git-svn-id: svn://busybox.net/trunk/busybox@10113 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c4
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
313static int binop() 313static 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
540static void initialize_group_array() 540static 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));