summaryrefslogtreecommitdiffstats
path: root/snake
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 /snake
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 'snake')
-rw-r--r--snake/snake/snake.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/snake/snake/snake.c b/snake/snake/snake.c
index 31504fc4..2e1161a7 100644
--- a/snake/snake/snake.c
+++ b/snake/snake/snake.c
@@ -1,4 +1,4 @@
-/* $NetBSD: snake.c,v 1.22 2007/01/17 00:30:23 hubertf Exp $ */
+/* $NetBSD: snake.c,v 1.23 2007/12/15 19:44:43 perry Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)snake.c 8.2 (Berkeley) 1/7/94";
#else
-__RCSID("$NetBSD: snake.c,v 1.22 2007/01/17 00:30:23 hubertf Exp $");
+__RCSID("$NetBSD: snake.c,v 1.23 2007/12/15 19:44:43 perry Exp $");
#endif
#endif /* not lint */
@@ -122,7 +122,7 @@ void home(void);
void length(int);
void logit(const char *);
int main(int, char **);
-void mainloop(void) __attribute__((__noreturn__));
+void mainloop(void) __dead;
struct point *point(struct point *, int, int);
int post(int, int);
int pushsnake(void);
@@ -131,7 +131,7 @@ void setup(void);
void snap(void);
void snrand(struct point *);
void spacewarp(int);
-void stop(int) __attribute__((__noreturn__));
+void stop(int) __dead;
int stretch(const struct point *);
void surround(struct point *);
void suspend(void);
@@ -974,7 +974,7 @@ winnings(won)
void
stop(dummy)
- int dummy __attribute__((__unused__));
+ int dummy __unused;
{
signal(SIGINT, SIG_IGN);
endwin();