diff options
author | Dave Beckett <dave@dajobe.org> | 2003-11-28 21:45:02 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2003-11-28 21:45:02 +0000 |
commit | e39be36b5eace703863c9a8889ae75bf34269f1c (patch) | |
tree | 5b9eea891d19ab5e69d7e86d302af41299d3ed41 /utils/raptor_getopt.h | |
parent | a815a24a99bb2ac4aa3779e8289fc1afb3c3edc7 (diff) | |
download | raptor-e39be36b5eace703863c9a8889ae75bf34269f1c.tar.gz |
Protect prototypes for C++
Diffstat (limited to 'utils/raptor_getopt.h')
-rw-r--r-- | utils/raptor_getopt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/raptor_getopt.h b/utils/raptor_getopt.h index 1b64c28c..0e911d75 100644 --- a/utils/raptor_getopt.h +++ b/utils/raptor_getopt.h @@ -8,8 +8,16 @@ #ifndef RAPTOR_GETOPT_H #define RAPTOR_GETOPT_H +#ifdef __cplusplus +extern "C" { +#endif + int getopt(int argc, char * const argv[], const char *optstring); extern char *optarg; extern int optind, opterr, optopt; +#ifdef __cplusplus +} +#endif + #endif |