summaryrefslogtreecommitdiff
path: root/tests/test_atomic.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-01-19 08:33:50 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-01-19 11:34:26 +0400
commitf75471a21abbf8598aa327066f2c66c052f5bb46 (patch)
tree8fac108dccdafbbf598d2ce517163da1987d048c /tests/test_atomic.c
parent125e5b247434f618a42502e97274e7672a2bd0ca (diff)
downloadlibatomic_ops-f75471a21abbf8598aa327066f2c66c052f5bb46.tar.gz
Change function prototype specifications to follow strict ANSI C style
* tests/test_atomic.c (main): Put "void" keyword into the arguments specification of the function prototype. * tests/test_stack.c (main): Likewise.
Diffstat (limited to 'tests/test_atomic.c')
-rw-r--r--tests/test_atomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_atomic.c b/tests/test_atomic.c
index 131c552..7356deb 100644
--- a/tests/test_atomic.c
+++ b/tests/test_atomic.c
@@ -164,7 +164,7 @@ int test_and_set_test(void)
#endif /* defined(AO_HAVE_test_and_set_acquire) */
-int main()
+int main(void)
{
test_atomic();
test_atomic_acquire();