diff options
author | DJ Delorie <dj@redhat.com> | 2002-10-27 01:01:04 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-10-27 01:01:04 +0000 |
commit | 238c78807d0a18a534724b6b2fd8a395bee9643b (patch) | |
tree | 382b4c45a40a98b1a9158d2bc86cf555325e1578 /include/getopt.h | |
parent | c3deee20b4f448b7e28362208506ccef0d59396d (diff) | |
download | cygnal-238c78807d0a18a534724b6b2fd8a395bee9643b.tar.gz cygnal-238c78807d0a18a534724b6b2fd8a395bee9643b.tar.bz2 cygnal-238c78807d0a18a534724b6b2fd8a395bee9643b.zip |
merge from gcc
Diffstat (limited to 'include/getopt.h')
-rw-r--r-- | include/getopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/getopt.h b/include/getopt.h index da09cee3b..9495a4846 100644 --- a/include/getopt.h +++ b/include/getopt.h @@ -112,7 +112,9 @@ struct option errors, only prototype getopt for the GNU C library. */ extern int getopt (int argc, char *const *argv, const char *shortopts); #else +#ifndef __cplusplus extern int getopt (); +#endif /* __cplusplus */ #endif #endif /* !HAVE_DECL_GETOPT */ |