| Index: include/getopt_s.h
|
| diff --git a/srtp/include/getopt_s.h b/include/getopt_s.h
|
| similarity index 96%
|
| rename from srtp/include/getopt_s.h
|
| rename to include/getopt_s.h
|
| index 2a6ece34ebc1f4c663bf9159a29d6c78cde7177a..584d54ccfabf72edb0348e7c7eff62fff113c92e 100644
|
| --- a/srtp/include/getopt_s.h
|
| +++ b/include/getopt_s.h
|
| @@ -45,6 +45,10 @@
|
| #ifndef GETOPT_S_H
|
| #define GETOPT_S_H
|
|
|
| +#ifdef __cplusplus
|
| +extern "C" {
|
| +#endif
|
| +
|
| /*
|
| * getopt_s(), optarg_s, and optind_s are small, locally defined
|
| * versions of the POSIX standard getopt() interface.
|
| @@ -57,4 +61,8 @@ extern char *optarg_s; /* defined in getopt.c */
|
|
|
| extern int optind_s; /* defined in getopt.c */
|
|
|
| +#ifdef __cplusplus
|
| +}
|
| +#endif
|
| +
|
| #endif /* GETOPT_S_H */
|
|
|