diff options
author | jsm <jsm@NetBSD.org> | 2004-02-08 22:23:50 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2004-02-08 22:23:50 +0000 |
commit | c236eb893173d7076ff941420640c9129eb83ce1 (patch) | |
tree | 445bd2d2533915f8055805a94c2274f6174619f5 /backgammon | |
parent | ad21fb31560f9565323f89d2a1468cff25268ae6 (diff) | |
download | bsdgames-darwin-c236eb893173d7076ff941420640c9129eb83ce1.tar.gz bsdgames-darwin-c236eb893173d7076ff941420640c9129eb83ce1.tar.zst bsdgames-darwin-c236eb893173d7076ff941420640c9129eb83ce1.zip |
Mark unused parameters, nonreturning functions and format functions in
the few cases not already marked.
Diffstat (limited to 'backgammon')
-rw-r--r-- | backgammon/backgammon/main.c | 6 | ||||
-rw-r--r-- | backgammon/teachgammon/teach.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/backgammon/backgammon/main.c b/backgammon/backgammon/main.c index 1a5237af..3175f70a 100644 --- a/backgammon/backgammon/main.c +++ b/backgammon/backgammon/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.19 2004/01/01 15:59:58 jsm Exp $ */ +/* $NetBSD: main.c,v 1.20 2004/02/08 22:23:50 jsm 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.19 2004/01/01 15:59:58 jsm Exp $"); +__RCSID("$NetBSD: main.c,v 1.20 2004/02/08 22:23:50 jsm Exp $"); #endif #endif /* not lint */ @@ -89,7 +89,7 @@ static char pbuf[10]; int main(argc, argv) - int argc; + int argc __attribute__((__unused__)); char **argv; { int i; /* non-descript index */ diff --git a/backgammon/teachgammon/teach.c b/backgammon/teachgammon/teach.c index 98ab026f..7d805d25 100644 --- a/backgammon/teachgammon/teach.c +++ b/backgammon/teachgammon/teach.c @@ -1,4 +1,4 @@ -/* $NetBSD: teach.c,v 1.14 2003/08/07 09:36:58 agc Exp $ */ +/* $NetBSD: teach.c,v 1.15 2004/02/08 22:23:50 jsm 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.14 2003/08/07 09:36:58 agc Exp $"); +__RCSID("$NetBSD: teach.c,v 1.15 2004/02/08 22:23:50 jsm Exp $"); #endif #endif /* not lint */ @@ -61,7 +61,7 @@ const char *const contin[] = { int main(argc, argv) - int argc; + int argc __attribute__((__unused__)); char *argv[]; { int i; |