about summary refs log tree commit diff
path: root/elf/tst-tls12.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls12.c')
-rw-r--r--elf/tst-tls12.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/tst-tls12.c b/elf/tst-tls12.c
index c73038b84f..84aa7d35ca 100644
--- a/elf/tst-tls12.c
+++ b/elf/tst-tls12.c
@@ -5,7 +5,8 @@
   if (p->a != S || p->b != S + 1 || p->c != S + 2)	\
     abort ()
 
-int main()
+int
+main (void)
 {
 #ifdef USE_TLS__THREAD
   struct A *p;