forked from Imagelibrary/binutils-gdb
* testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
* testsuite/tls_test_c.c (t11): Add explicit "void" to prototype. (t11_last): Likewise. * testsuite/ver_test_6.c (main): Likewise.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user