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

Side by Side Diff: ports/nacl-spawn/cli_main.c

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 unified diff | Download patch
« no previous file with comments | « ports/nacl-spawn/Makefile ('k') | ports/nacl-spawn/cli_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 /* Define a typical entry point for command line tools spawned by bash
8 * (e.g., ls, objdump, and objdump). */
9
10 #include "ppapi_simple/ps_main.h"
11 #include "nacl_main.h"
12
13 int cli_main(int argc, char* argv[]) {
14 nacl_setup_env();
15 return nacl_main(argc, argv);
16 }
17
18 PPAPI_SIMPLE_REGISTER_MAIN(cli_main)
OLDNEW
« no previous file with comments | « ports/nacl-spawn/Makefile ('k') | ports/nacl-spawn/cli_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698