summaryrefslogtreecommitdiff
path: root/src/sysdeps/trystrnlen.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-15 09:32:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-15 09:32:36 +0000
commita36a3eb159d88507705253577814a8fdcb2a86d1 (patch)
tree7b1af1e5909b330f4a602fc20229c3911dd0b233 /src/sysdeps/trystrnlen.c
parent329aee76f71ca3fdc832e14e1b4ef7309e97e638 (diff)
downloadskalibs-a36a3eb159d88507705253577814a8fdcb2a86d1.tar.xz
sysdeps tests cleanup. (I expect BSDs to break, as usual.)
Diffstat (limited to 'src/sysdeps/trystrnlen.c')
-rw-r--r--src/sysdeps/trystrnlen.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sysdeps/trystrnlen.c b/src/sysdeps/trystrnlen.c
index 5361cc9..7ebab53 100644
--- a/src/sysdeps/trystrnlen.c
+++ b/src/sysdeps/trystrnlen.c
@@ -1,4 +1,8 @@
/* ISC license. */
#include <string.h>
-int main () { return strnlen("/", 1) ; }
+
+int main (void)
+{
+ return strnlen("/", 1) ;
+}