summaryrefslogtreecommitdiffstats
path: root/canfield
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-11 13:19:50 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-11 13:19:50 +0000
commit9cc9985234faae3faaaf2c5449423fc1245b195e (patch)
treec31b31871435ab23d459998a154e82db09fbfe3a /canfield
parentd3efe6aa208677711186de8d64842482bf66f81f (diff)
downloadbsdgames-darwin-9cc9985234faae3faaaf2c5449423fc1245b195e.tar.gz
bsdgames-darwin-9cc9985234faae3faaaf2c5449423fc1245b195e.tar.zst
bsdgames-darwin-9cc9985234faae3faaaf2c5449423fc1245b195e.zip
fix main() prototype, as per PR#5867
Diffstat (limited to 'canfield')
-rw-r--r--canfield/canfield/canfield.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/canfield/canfield/canfield.c b/canfield/canfield/canfield.c
index d7861189..df43a915 100644
--- a/canfield/canfield/canfield.c
+++ b/canfield/canfield/canfield.c
@@ -1,4 +1,4 @@
-/* $NetBSD: canfield.c,v 1.9 1998/08/29 22:47:56 hubertf Exp $ */
+/* $NetBSD: canfield.c,v 1.10 1998/09/11 13:19:50 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)canfield.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: canfield.c,v 1.9 1998/08/29 22:47:56 hubertf Exp $");
+__RCSID("$NetBSD: canfield.c,v 1.10 1998/09/11 13:19:50 hubertf Exp $");
#endif
#endif /* not lint */
@@ -219,7 +219,7 @@ void initall __P((void));
void initdeck __P((struct cardtype *[]));
void initgame __P((void));
void instruct __P((void));
-int main __P((int, char *[]));
+int main __P((void));
void makeboard __P((void));
void movebox __P((void));
void movecard __P((void));
@@ -1783,9 +1783,7 @@ askquit(dummy)
* Can you tell that this used to be a Pascal program?
*/
int
-main(argc, argv)
- int argc;
- char *argv[];
+main()
{
#ifdef MAXLOAD
double vec[3];