Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: include/getopt_s.h

Issue 2344973002: Update libsrtp to version 2.0 (Closed)
Patch Set: Add '.' back to include_dirs Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/ekt.h ('k') | include/rtp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « include/ekt.h ('k') | include/rtp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698