diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-03-03 20:42:49 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-03-04 07:59:13 +1100 |
commit | 3f7f5e6c5d2aa3f6710289c1a30119e534e56c5c (patch) | |
tree | 0eadea513bfb9827d178bfa977818215e939ad62 /regress/unittests/test_helper/test_helper.c | |
parent | 2fab9b0f8720baf990c931e3f68babb0bf9949c6 (diff) |
upstream commit
expand __unused to full __attribute__ for better portability
Diffstat (limited to 'regress/unittests/test_helper/test_helper.c')
-rw-r--r-- | regress/unittests/test_helper/test_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/unittests/test_helper/test_helper.c b/regress/unittests/test_helper/test_helper.c index 034af938c..26ca26b5e 100644 --- a/regress/unittests/test_helper/test_helper.c +++ b/regress/unittests/test_helper/test_helper.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: test_helper.c,v 1.5 2015/02/16 22:20:50 djm Exp $ */ | 1 | /* $OpenBSD: test_helper.c,v 1.6 2015/03/03 20:42:49 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller <djm@mindrot.org> | 3 | * Copyright (c) 2011 Damien Miller <djm@mindrot.org> |
4 | * | 4 | * |
@@ -193,7 +193,7 @@ test_info(char *s, size_t len) | |||
193 | 193 | ||
194 | #ifdef SIGINFO | 194 | #ifdef SIGINFO |
195 | static void | 195 | static void |
196 | siginfo(int unused __unused) | 196 | siginfo(int unused __attribute__((__unused__))) |
197 | { | 197 | { |
198 | char buf[256]; | 198 | char buf[256]; |
199 | 199 | ||