Chromium Code Reviews| Index: native_client_sdk/src/libraries/nacl_io/include/sys/mount.h |
| diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/mount.c b/native_client_sdk/src/libraries/nacl_io/include/sys/mount.h |
| similarity index 52% |
| copy from native_client_sdk/src/libraries/nacl_io/syscalls/mount.c |
| copy to native_client_sdk/src/libraries/nacl_io/include/sys/mount.h |
| index 666e09c0e49bc4790a486bd033b74f9c6af835da..2ef9277353560e691c5a93ee3df09343b650fb7a 100644 |
| --- a/native_client_sdk/src/libraries/nacl_io/syscalls/mount.c |
| +++ b/native_client_sdk/src/libraries/nacl_io/include/sys/mount.h |
| @@ -2,10 +2,12 @@ |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. */ |
| -#include "nacl_io/kernel_intercept.h" |
| -#include "nacl_io/kernel_wrap.h" |
| +#ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_MOUNT_H |
| +#define LIBRARIES_NACL_IO_INCLUDE_MOUNT_H |
|
binji
2013/08/09 21:10:39
bad include guard
Sam Clegg
2013/08/09 21:19:02
Done.
|
| int mount(const char* source, const char* target, const char* filesystemtype, |
| - unsigned long mountflags, const void* data) { |
| - return ki_mount(source, target, filesystemtype, mountflags, data); |
| -} |
| + unsigned long mountflags, const void *data); |
| + |
| +int umount(const char *target); |
| + |
| +#endif /* LIBRARIES_NACL_IO_INCLUDE_SYS_MOUNT_H */ |