summaryrefslogtreecommitdiff
path: root/src/sysdeps/trymalloc0.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/trymalloc0.c
parent329aee76f71ca3fdc832e14e1b4ef7309e97e638 (diff)
downloadskalibs-a36a3eb159d88507705253577814a8fdcb2a86d1.tar.xz
sysdeps tests cleanup. (I expect BSDs to break, as usual.)
Diffstat (limited to 'src/sysdeps/trymalloc0.c')
-rw-r--r--src/sysdeps/trymalloc0.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sysdeps/trymalloc0.c b/src/sysdeps/trymalloc0.c
index 0f68329..4545598 100644
--- a/src/sysdeps/trymalloc0.c
+++ b/src/sysdeps/trymalloc0.c
@@ -1,4 +1,8 @@
/* ISC license */
#include <stdlib.h>
-int main() { return !malloc(0) ; }
+
+int main (void)
+{
+ return !malloc(0) ;
+}