diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-12 19:08:36 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-12 19:08:36 +0000 |
commit | 730964efd28b80be48ed35a215a362dde2b6b7a7 (patch) | |
tree | b07c215aa55db3fb81db462f4bc70f61cd56c57f /usr.bin/ranlib/misc.c | |
parent | c4d4a99d31762beef936f34571330923e9300da9 (diff) | |
download | FreeBSD-src-730964efd28b80be48ed35a215a362dde2b6b7a7.zip FreeBSD-src-730964efd28b80be48ed35a215a362dde2b6b7a7.tar.gz |
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'usr.bin/ranlib/misc.c')
-rw-r--r-- | usr.bin/ranlib/misc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/ranlib/misc.c b/usr.bin/ranlib/misc.c index 5d1fe8f..600e49e 100644 --- a/usr.bin/ranlib/misc.c +++ b/usr.bin/ranlib/misc.c @@ -42,6 +42,7 @@ static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; #include <sys/signal.h> #include <errno.h> #include <unistd.h> +#include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -50,7 +51,10 @@ static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; extern char *archive; /* archive name */ char *tname = "temporary file"; /* temporary file "name" */ -tmp() +void error __P(( char * )); + +int +tmp(void) { sigset_t set, oset; int fd; @@ -90,12 +94,14 @@ rname(path) return((ind = rindex(path, '/')) ? ind + 1 : path); } -badfmt() +void +badfmt(void) { errno = EFTYPE; error(archive); } +void error(name) char *name; { |