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

Unified Diff: ports/nacl-spawn/include/nacl_main.h

Issue 907563002: Simplify cli_main (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 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 | « ports/nacl-spawn/cli_main.cc ('k') | ports/nacl-spawn/nacl_spawn.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/nacl-spawn/include/nacl_main.h
diff --git a/ports/nacl-spawn/include/nacl_main.h b/ports/nacl-spawn/include/nacl_main.h
index bb936f503f14a97a8c907641458253ec11b96f6d..7a7818a6165c479e9454a35b3a837bd534013869 100644
--- a/ports/nacl-spawn/include/nacl_main.h
+++ b/ports/nacl-spawn/include/nacl_main.h
@@ -22,7 +22,8 @@ __BEGIN_DECLS
/*
* Entry point expected by libcli_main.a
*/
-extern int nacl_main(int argc, char* argv[]);
+extern int nacl_main(int argc, char* argv[])
+ __attribute__ ((visibility ("default")));
/*
* Untar a startup bundle to a particular root.
@@ -36,6 +37,12 @@ extern int nacl_main(int argc, char* argv[]);
extern int nacl_startup_untar(
const char* argv0, const char* tarfile, const char* root);
+/*
+ * Setup common environment variables and mounts.
+ */
+
+extern void nacl_setup_env();
+
__END_DECLS
#endif /* NACL_SPAWN_NACL_MAIN_H_ */
« no previous file with comments | « ports/nacl-spawn/cli_main.cc ('k') | ports/nacl-spawn/nacl_spawn.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698