aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gzip/getopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/gzip/getopt.c b/gnu/usr.bin/gzip/getopt.c
index 55fad84331a7..70729bbc419c 100644
--- a/gnu/usr.bin/gzip/getopt.c
+++ b/gnu/usr.bin/gzip/getopt.c
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu
@@ -172,7 +173,7 @@ static enum
#if __STDC__ || defined(PROTO)
extern char *getenv(const char *name);
extern int strcmp (const char *s1, const char *s2);
-extern int strncmp(const char *s1, const char *s2, int n);
+extern int strncmp(const char *s1, const char *s2, size_t n);
static int my_strlen(const char *s);
static char *my_index (const char *str, int chr);