summaryrefslogtreecommitdiff
path: root/tests/getgroups.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2019-01-27 13:31:16 +0100
committerDavid Disseldorp <ddiss@samba.org>2019-01-29 03:47:27 +0100
commite13245803918a90c3e4eb074579885888bfc9310 (patch)
tree8bc8127fe634e63427c706499669e6adbce39cfa /tests/getgroups.c
parentf1b43dfe4a75683d881811bd0830e38e16822d6a (diff)
downloadsamba-e13245803918a90c3e4eb074579885888bfc9310.tar.gz
tests: don't rely on implicit int return type
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Tue Jan 29 03:47:27 CET 2019 on sn-devel-144
Diffstat (limited to 'tests/getgroups.c')
-rw-r--r--tests/getgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/getgroups.c b/tests/getgroups.c
index 343fd5a184f..ab5648030a8 100644
--- a/tests/getgroups.c
+++ b/tests/getgroups.c
@@ -16,7 +16,7 @@
#include <unistd.h>
#include <grp.h>
-main()
+int main(void)
{
int i;
int *igroups;