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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/kernel_wrap.h

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #ifndef LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_ 5 #ifndef LIBRARIES_NACL_IO_KERNEL_WRAP_H_
6 #define LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_ 6 #define LIBRARIES_NACL_IO_KERNEL_WRAP_H_
7 7
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include "utils/macros.h" 10 #include "utils/macros.h"
11 11
12 #if defined(__GLIBC__) 12 #if defined(__GLIBC__)
13 #include <sys/cdefs.h> 13 #include <sys/cdefs.h>
14 #define NOTHROW __THROW 14 #define NOTHROW __THROW
15 #else 15 #else
16 #define NOTHROW 16 #define NOTHROW
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 #else 75 #else
76 int stat(const char* path, struct stat* buf) NOTHROW; 76 int stat(const char* path, struct stat* buf) NOTHROW;
77 #endif 77 #endif
78 int symlink(const char* oldpath, const char* newpath) NOTHROW; 78 int symlink(const char* oldpath, const char* newpath) NOTHROW;
79 int umount(const char* path) NOTHROW; 79 int umount(const char* path) NOTHROW;
80 int NAME(unlink)(const char* path) NOTHROW; 80 int NAME(unlink)(const char* path) NOTHROW;
81 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte); 81 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte);
82 82
83 EXTERN_C_END 83 EXTERN_C_END
84 84
85 #endif // LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_ 85 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc ('k') | native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698