aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-16 04:30:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-16 04:30:38 +0000
commit4e5936ef9501da7d2f010d8c4f3703505b28b2c5 (patch)
tree0fb5b9eaab153b533ffe5b228d70f05ebf0b3b16 /coreutils
parent5c63a729681991c86fc94fbe6f9f18b8cf876810 (diff)
downloadbusybox-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')
-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)
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));