summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2007-12-15 19:44:37 +0000
committerperry <perry@NetBSD.org>2007-12-15 19:44:37 +0000
commit5b76eed8435d83619f278cc1584ca5751e2804f6 (patch)
tree95b484c27260594d4e5c7b00cdcfd394d46911b1 /phantasia
parent1241b50c5ecd257030f9ddd40c9009a0a4c55ee8 (diff)
downloadbsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.gz
bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.zst
bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.zip
convert __attribute__s to applicable cdefs.h macros
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/io.c4
-rw-r--r--phantasia/setup.c4
2 files changed, 4 insertions, 4 deletions
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);
/* */