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

Unified Diff: src/shared/platform/win/port_win.c

Issue 1706613002: Fix getopt signature in port_win.h (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 10 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 | « src/include/win/port_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/platform/win/port_win.c
diff --git a/src/shared/platform/win/port_win.c b/src/shared/platform/win/port_win.c
index 65138b242b3f6858851518c9bb7ff441fe1cafe9..2f303ff10ab217e56330cd6d9fb60970205e71e1 100644
--- a/src/shared/platform/win/port_win.c
+++ b/src/shared/platform/win/port_win.c
@@ -69,7 +69,7 @@ int ffs(int v) {
char *optarg; /* global argument pointer */
int optind = 0; /* global argv index */
-int getopt(int argc, char *argv[], char *optstring) {
+int getopt(int argc, char *argv[], const char *optstring) {
char c, *cp;
static char *next = NULL;
if (optind == 0)
« no previous file with comments | « src/include/win/port_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698