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

Unified Diff: ports/devenv/tests/devenv_small_test.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
« no previous file with comments | « ports/devenv/jseval.c ('k') | ports/emacs-x/pkg_info » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/devenv/tests/devenv_small_test.cc
diff --git a/ports/devenv/tests/devenv_small_test.cc b/ports/devenv/tests/devenv_small_test.cc
index 5ce4cba1a0dd22bb1a40fa9b15bdea7b81ebc354..05b302f16dc42bfcc59e6de5d7454f46e272a286 100644
--- a/ports/devenv/tests/devenv_small_test.cc
+++ b/ports/devenv/tests/devenv_small_test.cc
@@ -454,7 +454,7 @@ TEST(Pipes, CloseExec) {
EXPECT_EQ(42, WEXITSTATUS(status));
}
-extern "C" int nacl_main(int argc, char **argv) {
+int main(int argc, char **argv) {
if (argc == 4 && strcmp(argv[1], "return") == 0) {
return return_child(argc, argv);
} else if (argc == 4 && strcmp(argv[1], "_exit") == 0) {
« no previous file with comments | « ports/devenv/jseval.c ('k') | ports/emacs-x/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698