summaryrefslogtreecommitdiff
path: root/tests/readlink.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/readlink.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/readlink.c')
-rw-r--r--tests/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/readlink.c b/tests/readlink.c
index 3784288ba01..65311c2ff79 100644
--- a/tests/readlink.c
+++ b/tests/readlink.c
@@ -11,7 +11,7 @@
#define DATA "readlink.test"
#define FNAME "rdlnk.file"
-main()
+int main(void)
{
char buf[7];
int ret;