| Index: ports/ipython-ppapi/kernel.cc
|
| diff --git a/ports/ipython-ppapi/kernel.cc b/ports/ipython-ppapi/kernel.cc
|
| index 98d9667322afef91c2730af287340ea5dc2111c8..9bb7fb9650b6b8e5b2e41fb78f694a1c162356e7 100644
|
| --- a/ports/ipython-ppapi/kernel.cc
|
| +++ b/ports/ipython-ppapi/kernel.cc
|
| @@ -1,4 +1,4 @@
|
| -/* Copyright (c) 2014 Google Inc. All rights reserved.
|
| +/* Copyright (c) 2014 The Native Client Authors. All rights reserved.
|
| * Use of this source code is governed by a BSD-style license that can be
|
| * found in the LICENSE file. */
|
|
|
| @@ -16,7 +16,6 @@
|
| #include "ppapi_simple/ps_interface.h"
|
|
|
| #include "nacl_io/nacl_io.h"
|
| -#include "ppapi_simple/ps_main.h"
|
| #include "ppapi_simple/ps_instance.h"
|
|
|
| #ifdef __pnacl__
|
| @@ -145,7 +144,7 @@ static PyMethodDef PPMessageMethods[] = {
|
| {NULL, NULL, 0, NULL}
|
| };
|
|
|
| -int ipython_kernel_main(int argc, char **argv) {
|
| +int main(int argc, char **argv) {
|
| printf("Setting up unix environment...\n");
|
| if (setup_unix_environment()) {
|
| printf("Error: %s\n", strerror(errno));
|
| @@ -181,5 +180,3 @@ int ipython_kernel_main(int argc, char **argv) {
|
|
|
| return 0;
|
| }
|
| -
|
| -PPAPI_SIMPLE_REGISTER_MAIN(ipython_kernel_main)
|
|
|