| Index: native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| index 68e3345f37805746d696747ad3d44306e5feac9c..77ccc4a1e249ba2bc09c46be7863644beecff4d1 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h
|
| @@ -14,19 +14,23 @@ EXTERN_C_BEGIN
|
| /* NOTE: We do not use off_t because it may be 32 or 64 bit */
|
| int _real_close(int fd);
|
| void _real_exit(int status);
|
| -int _real_fstat(int fd, struct stat *buf);
|
| -int _real_getdents(int fd, void* nacl_buf, size_t nacl_count, size_t *nread);
|
| +int _real_fstat(int fd, struct stat* buf);
|
| +int _real_getdents(int fd, void* nacl_buf, size_t nacl_count, size_t* nread);
|
| int _real_isatty(int fd, int* result);
|
| int _real_lseek(int fd, int64_t offset, int whence, int64_t* new_offset);
|
| int _real_mkdir(const char* pathname, mode_t mode);
|
| -int _real_mmap(void** addr, size_t length, int prot, int flags, int fd,
|
| +int _real_mmap(void** addr,
|
| + size_t length,
|
| + int prot,
|
| + int flags,
|
| + int fd,
|
| int64_t offset);
|
| int _real_munmap(void* addr, size_t length);
|
| int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd);
|
| int _real_open_resource(const char* file, int* fd);
|
| -int _real_read(int fd, void *buf, size_t count, size_t *nread);
|
| +int _real_read(int fd, void* buf, size_t count, size_t* nread);
|
| int _real_rmdir(const char* pathname);
|
| -int _real_write(int fd, const void *buf, size_t count, size_t *nwrote);
|
| +int _real_write(int fd, const void* buf, size_t count, size_t* nwrote);
|
|
|
| EXTERN_C_END
|
|
|
|
|