summaryrefslogtreecommitdiffstats
path: root/bin/test
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-11 01:25:54 +0000
committeralfred <alfred@FreeBSD.org>2002-05-11 01:25:54 +0000
commit2864dba864db5ebf6cceb243ff8767c9fc9412ec (patch)
tree43075f556676f63a6813a7f8b4b0c0b35126d22b /bin/test
parent2f75a283e0309114a445b9168997f4eaf1c6375d (diff)
downloadFreeBSD-src-2864dba864db5ebf6cceb243ff8767c9fc9412ec.zip
FreeBSD-src-2864dba864db5ebf6cceb243ff8767c9fc9412ec.tar.gz
while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__.
Diffstat (limited to 'bin/test')
-rw-r--r--bin/test/test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index 8b870fb..4086bd7 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -35,8 +35,7 @@ static const char rcsid[] =
#else
#include <locale.h>
-static void error(const char *, ...) __attribute__((__noreturn__))
- __printf0like(1, 2);
+static void error(const char *, ...) __dead2 __printf0like(1, 2);
static void
error(const char *msg, ...)
OpenPOWER on IntegriCloud