diff options
author | lukem <lukem@NetBSD.org> | 1997-10-10 11:39:08 +0000 |
---|---|---|
committer | lukem <lukem@NetBSD.org> | 1997-10-10 11:39:08 +0000 |
commit | b4bb83fd34ab5386afa1b8af8e0956ff7953d0e0 (patch) | |
tree | 5cd3c69d8e6d56c42128666f35ceed56746ed1d2 /battlestar/getcom.c | |
parent | 7016350ffcce57245468046bd3e36559e2684dca (diff) | |
download | bsdgames-darwin-b4bb83fd34ab5386afa1b8af8e0956ff7953d0e0.tar.gz bsdgames-darwin-b4bb83fd34ab5386afa1b8af8e0956ff7953d0e0.tar.zst bsdgames-darwin-b4bb83fd34ab5386afa1b8af8e0956ff7953d0e0.zip |
WARNSify
Diffstat (limited to 'battlestar/getcom.c')
-rw-r--r-- | battlestar/getcom.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/battlestar/getcom.c b/battlestar/getcom.c index d6726de0..1631935d 100644 --- a/battlestar/getcom.c +++ b/battlestar/getcom.c @@ -1,4 +1,4 @@ -/* $NetBSD: getcom.c,v 1.3 1995/03/21 15:07:30 cgd Exp $ */ +/* $NetBSD: getcom.c,v 1.4 1997/10/10 11:39:53 lukem Exp $ */ /* * Copyright (c) 1983, 1993 @@ -33,16 +33,16 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)getcom.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: getcom.c,v 1.3 1995/03/21 15:07:30 cgd Exp $"; +__RCSID("$NetBSD: getcom.c,v 1.4 1997/10/10 11:39:53 lukem Exp $"); #endif #endif /* not lint */ -#include <stdio.h> -#include <ctype.h> +#include "extern.h" char * getcom(buf, size, prompt, error) @@ -73,8 +73,8 @@ getcom(buf, size, prompt, error) */ char * getword(buf1, buf2, flag) - register char *buf1, *buf2; - register flag; + char *buf1, *buf2; + int flag; { while (isspace(*buf1)) buf1++; |