| Index: native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/nacl_io.h b/native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| index 21abc3463259d422b49bb841c361a5fae59c93c1..c6ed47262171ef65ce1f8c10054380392be3d8cf 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/nacl_io.h
|
| @@ -29,7 +29,7 @@ typedef void (*nacl_io_mount_callback_t)(const char* source,
|
| * NOTE: If you initialize nacl_io with this constructor, you cannot
|
| * use any filesystems that require PPAPI; e.g. persistent storage, etc.
|
| */
|
| -void nacl_io_init();
|
| +int nacl_io_init();
|
|
|
| /**
|
| * Initialize nacl_io with PPAPI support.
|
| @@ -49,7 +49,7 @@ void nacl_io_init();
|
| * |get_interface| can be retrieved via
|
| * pp::Module::Get()->get_browser_interface()
|
| */
|
| -void nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface);
|
| +int nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface);
|
|
|
| /**
|
| * Uninitialize nacl_io.
|
| @@ -57,7 +57,7 @@ void nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface);
|
| * This removes interception for POSIX C-library function and releases
|
| * any associated resources.
|
| */
|
| -void nacl_io_uninit();
|
| +int nacl_io_uninit();
|
|
|
| void nacl_io_set_exit_callback(nacl_io_exit_callback_t exit_callback,
|
| void* user_data);
|
|
|