summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2003-10-28 13:23:59 +0000
committeravsm <avsm@openbsd.org>2003-10-28 13:23:59 +0000
commit774cb253541cae2bdb7ea97dff8871d36ab9a757 (patch)
treed8458da88c1886eaebc4724cfe91a9a04fc121f6 /usr.bin/diff/diffreg.c
parentguard cpu register functions from userland, otherwise they appear when (diff)
downloadwireguard-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.c6
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];