From a3be04603ba565ffbc2e8c6faa1532b75e9e0ca9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 10 Aug 1996 22:24:19 +0000 Subject: protos in scope --- usr.sbin/rmt/rmt.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rmt/rmt.c b/usr.sbin/rmt/rmt.c index 2be7ebd597b..a064ba14969 100644 --- a/usr.sbin/rmt/rmt.c +++ b/usr.sbin/rmt/rmt.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)rmt.c 5.6 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id: rmt.c,v 1.1 1995/10/18 08:48:05 deraadt Exp $"; +static char rcsid[] = "$Id: rmt.c,v 1.2 1996/08/10 22:24:18 deraadt Exp $"; #endif /* not lint */ /* @@ -49,8 +49,11 @@ static char rcsid[] = "$Id: rmt.c,v 1.1 1995/10/18 08:48:05 deraadt Exp $"; #include #include #include +#include #include #include +#include +#include #include #include @@ -71,6 +74,10 @@ FILE *debug; #define DEBUG1(f,a) if (debug) fprintf(debug, f, a) #define DEBUG2(f,a1,a2) if (debug) fprintf(debug, f, a1, a2) +void getstring __P((char *)); +void error __P((int)); + +int main(argc, argv) int argc; char **argv; @@ -188,6 +195,7 @@ ioerror: goto top; } +void getstring(bp) char *bp; { @@ -226,6 +234,7 @@ checkbuf(record, size) return (record); } +void error(num) int num; { -- cgit v1.2.3