| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2008 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * be found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* | 7 /* |
| 8 * NaCl Service Runtime. IMC API. | 8 * NaCl Service Runtime. IMC API. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_ | 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_ |
| 12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_ | 12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_ |
| 13 | 13 |
| 14 #include "native_client/src/trusted/service_runtime/include/bits/mman.h" | 14 #include "native_client/src/trusted/service_runtime/include/bits/mman.h" |
| 15 | 15 |
| 16 #ifdef __cplusplus | 16 #ifdef __cplusplus |
| 17 extern "C" { | 17 extern "C" { |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 /** Description of mmap. More details... */ | 20 /** Description of mmap. More details... */ |
| 21 extern void *mmap(void *start, size_t length, int prot, int flags, | 21 extern void *mmap(void *start, size_t length, int prot, int flags, |
| 22 int desc, off_t offset); | 22 int desc, off_t offset); |
| 23 | 23 |
| 24 /** Description of munmap. More details... */ | 24 /** Description of munmap. More details... */ |
| 25 extern int munmap(void *start, size_t length); | 25 extern int munmap(void const *start, size_t length); |
| 26 | 26 |
| 27 /** Description of mprotect. More details... */ | 27 /** Description of mprotect. More details... */ |
| 28 extern int mprotect(void *start, size_t length, int prot); | 28 extern int mprotect(void *start, size_t length, int prot); |
| 29 | 29 |
| 30 #ifdef __cplusplus | 30 #ifdef __cplusplus |
| 31 } | 31 } |
| 32 #endif | 32 #endif |
| 33 | 33 |
| 34 #endif | 34 #endif |
| OLD | NEW |