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

Unified Diff: ports/geturl/geturl.cc

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 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
Index: ports/geturl/geturl.cc
diff --git a/ports/geturl/geturl.cc b/ports/geturl/geturl.cc
index de79e8b504ef5efe26c0db465a050690875f244b..f9b4ace73d8dd6a484865249ab8c13c8cbc16514 100644
--- a/ports/geturl/geturl.cc
+++ b/ports/geturl/geturl.cc
@@ -13,8 +13,6 @@
#include <string.h>
#include <unistd.h>
-#include "nacl_main.h"
-
#include "ppapi_simple/ps.h"
#include "ppapi/c/pp_errors.h"
@@ -126,7 +124,7 @@ fail:
return 1;
}
-int nacl_main(int argc, char *argv[]) {
+int main(int argc, char *argv[]) {
if (argc == 4 && strcmp(argv[1], "-q") == 0) {
return Download(1, argv[2], argv[3]);
} else if (argc == 3) {

Powered by Google App Engine
This is Rietveld 408576698