From 9cc9985234faae3faaaf2c5449423fc1245b195e Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 11 Sep 1998 13:19:50 +0000 Subject: fix main() prototype, as per PR#5867 --- canfield/canfield/canfield.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'canfield') 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]; -- cgit v1.2.3-56-ge451