| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include "ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h" | |
| 8 | |
| 9 /* | 7 /* |
| 10 * An application that doesn't define its own main but links in -lppapi | 8 * An application that doesn't define its own main but links in -lppapi |
| 11 * gets this one. A plugin may instead have its own main that calls | 9 * gets this one. A plugin may instead have its own main that calls |
| 12 * PpapiPluginMain (or PpapiPluginStart) after doing some other setup. | 10 * PpapiPluginMain (or PpapiPluginStart) after doing some other setup. |
| 13 */ | 11 */ |
| 12 |
| 13 int PpapiPluginMain(); |
| 14 |
| 14 int main(void) { | 15 int main(void) { |
| 15 return PpapiPluginMain(); | 16 return PpapiPluginMain(); |
| 16 } | 17 } |
| OLD | NEW |