From 5b76eed8435d83619f278cc1584ca5751e2804f6 Mon Sep 17 00:00:00 2001 From: perry Date: Sat, 15 Dec 2007 19:44:37 +0000 Subject: convert __attribute__s to applicable cdefs.h macros --- phantasia/io.c | 4 ++-- phantasia/setup.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'phantasia') diff --git a/phantasia/io.c b/phantasia/io.c index ed6e0ad2..9cff2e43 100644 --- a/phantasia/io.c +++ b/phantasia/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.10 2007/12/15 16:32:05 perry Exp $ */ +/* $NetBSD: io.c,v 1.11 2007/12/15 19:44:42 perry Exp $ */ /* * io.c - input/output routines for Phantasia @@ -241,7 +241,7 @@ getanswer(choices, def) void catchalarm(dummy) - int dummy __attribute__((__unused__)); + int dummy __unused; { longjmp(Timeoenv, 1); } diff --git a/phantasia/setup.c b/phantasia/setup.c index df1f0133..70f3f6e3 100644 --- a/phantasia/setup.c +++ b/phantasia/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.15 2007/12/15 16:32:05 perry Exp $ */ +/* $NetBSD: setup.c,v 1.16 2007/12/15 19:44:42 perry Exp $ */ /* * setup.c - set up all files for Phantasia @@ -10,7 +10,7 @@ #include "include.h" int main(int, char *[]); -void Error(const char *, const char *) __attribute__((__noreturn__)); +void Error(const char *, const char *) __dead; double drandom(void); /* */ -- cgit v1.2.3