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

Unified Diff: ports/libgit2-demo/libgit2-demo.c

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/libgit2-demo/build.sh ('k') | ports/libxcb/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/libgit2-demo/libgit2-demo.c
diff --git a/ports/libgit2-demo/libgit2-demo.c b/ports/libgit2-demo/libgit2-demo.c
index 24fb59a7b7a247fa0e4d9a32b94326d5b06bedef..64de7a09c3194308c3e51cff36bb50727692e13a 100644
--- a/ports/libgit2-demo/libgit2-demo.c
+++ b/ports/libgit2-demo/libgit2-demo.c
@@ -9,7 +9,6 @@
#include <errno.h>
#include <git2.h>
#include <git2/transport.h>
-#include <nacl_main.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
@@ -130,7 +129,7 @@ git_smart_subtransport_definition pepper_http_subtransport_definition = {
1 /* use rpc */
};
-int nacl_main(int argc, char** argv) {
+int main(int argc, char** argv) {
srand(123);
int rtn = git_threads_init();
if (rtn) {
« no previous file with comments | « ports/libgit2-demo/build.sh ('k') | ports/libxcb/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698