diff options
author | 2003-10-28 13:23:59 +0000 | |
---|---|---|
committer | 2003-10-28 13:23:59 +0000 | |
commit | 774cb253541cae2bdb7ea97dff8871d36ab9a757 (patch) | |
tree | d8458da88c1886eaebc4724cfe91a9a04fc121f6 /usr.bin/diff/diffreg.c | |
parent | guard cpu register functions from userland, otherwise they appear when (diff) | |
download | wireguard-openbsd-774cb253541cae2bdb7ea97dff8871d36ab9a757.tar.xz wireguard-openbsd-774cb253541cae2bdb7ea97dff8871d36ab9a757.zip |
prototype declared static, but function was not. add static to function.
millert@ otto@ ok
Diffstat (limited to 'usr.bin/diff/diffreg.c')
-rw-r--r-- | usr.bin/diff/diffreg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c index 64dc10dbf26..848e19edf4f 100644 --- a/usr.bin/diff/diffreg.c +++ b/usr.bin/diff/diffreg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffreg.c,v 1.50 2003/09/07 07:53:01 tedu Exp $ */ +/* $OpenBSD: diffreg.c,v 1.51 2003/10/28 13:23:59 avsm Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -65,7 +65,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.50 2003/09/07 07:53:01 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.51 2003/10/28 13:23:59 avsm Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -1209,7 +1209,7 @@ readhash(FILE *f) return (sum == 0 ? 1 : sum); } -int +static int asciifile(FILE *f) { char buf[BUFSIZ]; |