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

Unified Diff: native_client_sdk/src/libraries/nacl_io/nacl_io.cc

Issue 598223004: [NaCl SDK] nacl_io: add return value to nacl_io_init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mem_leaks
Patch Set: Created 6 years, 3 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 | « native_client_sdk/src/libraries/nacl_io/nacl_io.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/nacl_io.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/nacl_io.cc b/native_client_sdk/src/libraries/nacl_io/nacl_io.cc
index b1134f106b905ce420fe0c7af91fe6cccb85c8bb..141c4d7a5d6cf1a31b3fe05d2cbb6bf3557c189a 100644
--- a/native_client_sdk/src/libraries/nacl_io/nacl_io.cc
+++ b/native_client_sdk/src/libraries/nacl_io/nacl_io.cc
@@ -8,16 +8,16 @@
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_proxy.h"
-void nacl_io_init() {
- ki_init(NULL);
+int nacl_io_init() {
+ return ki_init(NULL);
}
-void nacl_io_uninit() {
- ki_uninit();
+int nacl_io_uninit() {
+ return ki_uninit();
}
-void nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface) {
- ki_init_ppapi(NULL, instance, get_interface);
+int nacl_io_init_ppapi(PP_Instance instance, PPB_GetInterface get_interface) {
+ return ki_init_ppapi(NULL, instance, get_interface);
}
int nacl_io_register_fs_type(const char* fs_type, fuse_operations* fuse_ops) {
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/nacl_io.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698