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 /backgammon | |
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 'backgammon')
-rw-r--r-- | backgammon/backgammon/main.c | 6 | ||||
-rw-r--r-- | backgammon/common_source/subs.c | 6 | ||||
-rw-r--r-- | backgammon/teachgammon/teach.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/backgammon/backgammon/main.c b/backgammon/backgammon/main.c index 57c27874..dae7dae9 100644 --- a/backgammon/backgammon/main.c +++ b/backgammon/backgammon/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.22 2005/07/01 01:12:39 jmc Exp $ */ +/* $NetBSD: main.c,v 1.23 2007/12/15 19:44:38 perry Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: main.c,v 1.22 2005/07/01 01:12:39 jmc Exp $"); +__RCSID("$NetBSD: main.c,v 1.23 2007/12/15 19:44:38 perry Exp $"); #endif #endif /* not lint */ @@ -88,7 +88,7 @@ static const char password[] = "losfurng"; static char pbuf[10]; int -main(int argc __attribute__((__unused__)), char **argv) +main(int argc __unused, char **argv) { int i; /* non-descript index */ int l; /* non-descript index */ diff --git a/backgammon/common_source/subs.c b/backgammon/common_source/subs.c index a95e4813..62529fe0 100644 --- a/backgammon/common_source/subs.c +++ b/backgammon/common_source/subs.c @@ -1,4 +1,4 @@ -/* $NetBSD: subs.c,v 1.15 2005/07/01 01:12:39 jmc Exp $ */ +/* $NetBSD: subs.c,v 1.16 2007/12/15 19:44:39 perry Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: subs.c,v 1.15 2005/07/01 01:12:39 jmc Exp $"); +__RCSID("$NetBSD: subs.c,v 1.16 2007/12/15 19:44:39 perry Exp $"); #endif #endif /* not lint */ @@ -433,7 +433,7 @@ fixtty(struct termios *t) } void -getout(int dummy __attribute__((__unused__))) +getout(int dummy __unused) { /* go to bottom of screen */ if (tflag) { diff --git a/backgammon/teachgammon/teach.c b/backgammon/teachgammon/teach.c index 8f197176..5a39fb2f 100644 --- a/backgammon/teachgammon/teach.c +++ b/backgammon/teachgammon/teach.c @@ -1,4 +1,4 @@ -/* $NetBSD: teach.c,v 1.17 2005/07/01 01:12:39 jmc Exp $ */ +/* $NetBSD: teach.c,v 1.18 2007/12/15 19:44:39 perry Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: teach.c,v 1.17 2005/07/01 01:12:39 jmc Exp $"); +__RCSID("$NetBSD: teach.c,v 1.18 2007/12/15 19:44:39 perry Exp $"); #endif #endif /* not lint */ @@ -60,7 +60,7 @@ const char *const contin[] = { }; int -main(int argc __attribute__((__unused__)), char *argv[]) +main(int argc __unused, char *argv[]) { int i; |