summaryrefslogtreecommitdiffhomepage
path: root/coreutils/test.c
diff options
context:
space:
mode:
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)
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));