diff options
Diffstat (limited to 'devel/cvsnt/files/patch-lib-getopt.h')
-rw-r--r-- | devel/cvsnt/files/patch-lib-getopt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/cvsnt/files/patch-lib-getopt.h b/devel/cvsnt/files/patch-lib-getopt.h new file mode 100644 index 000000000000..5ecae90d9cd3 --- /dev/null +++ b/devel/cvsnt/files/patch-lib-getopt.h @@ -0,0 +1,11 @@ +--- lib/getopt.h.orig Sun Jan 25 20:07:35 2004 ++++ lib/getopt.h Sun Jan 25 20:08:37 2004 +@@ -97,7 +97,7 @@ + exactly why), and there is no particular need to prototype it. + We really shouldn't be trampling on the system's namespace at all by + declaring getopt() but that is a bigger issue. */ +-extern int getopt (); ++extern int getopt (int argc, char *const argv[], const char *shortopts); + + extern int getopt_long (int argc, char *const *argv, const char *shortopts, + const struct option *longopts, int *longind); |