Mercurial > hg > octave-shane > gnulib-hg
diff tests/test-tls.c @ 10858:fbae6908522f
Avoid gcc -Wmissing-prototypes warnings.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 08 Dec 2008 00:53:46 +0100 (2008-12-07) |
parents | d6619672e1a6 |
children | e8d2c6fc33ad |
line wrap: on
line diff
--- a/tests/test-tls.c +++ b/tests/test-tls.c @@ -75,6 +75,9 @@ yield (); } + +/* ----------------------- Test thread-local storage ----------------------- */ + #define KEYS_COUNT 4 static gl_tls_key_t mykeys[KEYS_COUNT]; @@ -146,7 +149,7 @@ return NULL; } -void +static void test_tls (void) { int pass, i; @@ -175,6 +178,9 @@ } } + +/* -------------------------------------------------------------------------- */ + int main () {