mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
544 B

  1. diff -ruN gzip-1.2.4a/getopt.c gzip-1.2.4a-new/getopt.c
  2. --- gzip-1.2.4a/getopt.c 1993-08-17 20:24:08.000000000 +0200
  3. +++ gzip-1.2.4a-new/getopt.c 2004-05-18 22:01:12.830713688 +0200
  4. @@ -172,7 +172,7 @@
  5. #if __STDC__ || defined(PROTO)
  6. extern char *getenv(const char *name);
  7. extern int strcmp (const char *s1, const char *s2);
  8. -extern int strncmp(const char *s1, const char *s2, int n);
  9. +extern int strncmp(const char *s1, const char *s2, size_t n);
  10. static int my_strlen(const char *s);
  11. static char *my_index (const char *str, int chr);