diff options
author | perry <perry@NetBSD.org> | 2007-12-15 19:44:37 +0000 |
---|---|---|
committer | perry <perry@NetBSD.org> | 2007-12-15 19:44:37 +0000 |
commit | 5b76eed8435d83619f278cc1584ca5751e2804f6 (patch) | |
tree | 95b484c27260594d4e5c7b00cdcfd394d46911b1 /hack/hack.end.c | |
parent | 1241b50c5ecd257030f9ddd40c9009a0a4c55ee8 (diff) | |
download | bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.gz bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.zst bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.zip |
convert __attribute__s to applicable cdefs.h macros
Diffstat (limited to 'hack/hack.end.c')
-rw-r--r-- | hack/hack.end.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hack/hack.end.c b/hack/hack.end.c index 51378bf9..0b8a44bc 100644 --- a/hack/hack.end.c +++ b/hack/hack.end.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.end.c,v 1.7 2006/05/13 22:45:11 christos Exp $ */ +/* $NetBSD: hack.end.c,v 1.8 2007/12/15 19:44:41 perry Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.end.c,v 1.7 2006/05/13 22:45:11 christos Exp $"); +__RCSID("$NetBSD: hack.end.c,v 1.8 2007/12/15 19:44:41 perry Exp $"); #endif /* not lint */ #include <signal.h> @@ -86,7 +86,7 @@ dodone() /*ARGSUSED*/ void done1(n) - int n __attribute__((__unused__)); + int n __unused; { (void) signal(SIGINT, SIG_IGN); pline("Really quit?"); @@ -108,7 +108,7 @@ int done_hup; /*ARGSUSED*/ void done_intr(n) - int n __attribute__((__unused__)); + int n __unused; { done_stopprint++; (void) signal(SIGINT, SIG_IGN); |