diff options
author | obrien <obrien@FreeBSD.org> | 2000-10-13 12:04:55 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-10-13 12:04:55 +0000 |
commit | 0bdce46a07b97a95e39e8b8ff75500596236ec27 (patch) | |
tree | 6b2d01925752517a8ca051b22675c1754fd9efe3 /contrib/gperf/lib/getopt.h.patch | |
parent | 533744c77137b94ed05e2ca445ba97d71c79ee5f (diff) | |
download | FreeBSD-src-0bdce46a07b97a95e39e8b8ff75500596236ec27.zip FreeBSD-src-0bdce46a07b97a95e39e8b8ff75500596236ec27.tar.gz |
Virgin import of gperf v2.7.2.
Diffstat (limited to 'contrib/gperf/lib/getopt.h.patch')
-rw-r--r-- | contrib/gperf/lib/getopt.h.patch | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/contrib/gperf/lib/getopt.h.patch b/contrib/gperf/lib/getopt.h.patch index 7a7c2f1..8094b1a 100644 --- a/contrib/gperf/lib/getopt.h.patch +++ b/contrib/gperf/lib/getopt.h.patch @@ -4,7 +4,37 @@ maintainer has been informed of these patches. diff -c3 getopt.h.orig getopt.h *** getopt.h.orig Sat Jun 21 03:01:53 1997 ---- getopt.h Thu Apr 16 00:17:42 1998 +--- getopt.h Mon Aug 28 12:36:27 2000 +*************** +*** 1,5 **** + /* Declarations for getopt. +! Copyright (C) 1989,90,91,92,93,94,96,97 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or +--- 1,5 ---- + /* Declarations for getopt. +! Copyright (C) 1989-1998, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or +*************** +*** 78,84 **** + + struct option + { +! #if defined (__STDC__) && __STDC__ + const char *name; + #else + char *name; +--- 78,84 ---- + + struct option + { +! #if (defined (__STDC__) && __STDC__) || defined (__cplusplus) + const char *name; + #else + char *name; *************** *** 96,102 **** #define required_argument 1 |