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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h

Issue 303223007: [NaCl SDK] nacl_io: Run clang-format over nacl_io sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc ('k') | native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698