[GOLD] make clean
[deliverable/binutils-gdb.git] / gold / testsuite / tls_test_c.c
index 1860969ff59561f96e85c393e22eb4cdd23e0976..c23b48265c958126e75e01615ef471db27606858 100644 (file)
@@ -1,6 +1,6 @@
 /* tls_test_c.c -- test TLS common symbol
 
-   Copyright 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2017 Free Software Foundation, Inc.
    Written by Ian Lance Taylor <iant@google.com>
 
    This file is part of gold.
@@ -23,8 +23,8 @@
 /* The only way I know to get gcc to generate a TLS common symbol is
    to use a C file and an OpenMP directive.  */
 
-#include <stdio.h>
 #include "config.h"
+#include <stdio.h>
 
 #define CHECK_EQ_OR_RETURN(var, expected)                              \
   do                                                                   \
@@ -42,8 +42,11 @@ int v7;
 #pragma omp threadprivate (v7)
 #endif
 
+int t11(void);
+int t11_last(void);
+
 int
-t11()
+t11(void)
 {
 #ifdef HAVE_OMP_SUPPORT
   CHECK_EQ_OR_RETURN(v7, 0);
@@ -53,7 +56,7 @@ t11()
 }
 
 int
-t11_last()
+t11_last(void)
 {
 #ifdef HAVE_OMP_SUPPORT
   CHECK_EQ_OR_RETURN(v7, 70);
This page took 0.02454 seconds and 4 git commands to generate.