From b4bb83fd34ab5386afa1b8af8e0956ff7953d0e0 Mon Sep 17 00:00:00 2001 From: lukem Date: Fri, 10 Oct 1997 11:39:08 +0000 Subject: WARNSify --- battlestar/getcom.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'battlestar/getcom.c') 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 #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 -#include +#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++; -- cgit v1.2.3-56-ge451