diff options
Diffstat (limited to 'include/sys')
| -rw-r--r-- | include/sys/mman.h | 10 | ||||
| -rw-r--r-- | include/sys/personality.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 326685f61..10471e683 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -94,7 +94,7 @@ extern int msync (void *__addr, size_t __len, int __flags); #else /* On no-mmu systems you can't have real private mappings. */ -static inline int msync (void *__addr, size_t __len, int __flags) { return 0; } +static __inline__ int msync (void *__addr, size_t __len, int __flags) { return 0; } #endif @@ -131,10 +131,10 @@ extern int munlockall (void) __THROW; /* On no-mmu systems, memory cannot be swapped out, so * these functions will always succeed. */ -static inline int mlock (__const void *__addr, size_t __len) { return 0; } -static inline int munlock (__const void *__addr, size_t __len) { return 0; } -static inline int mlockall (int __flags) { return 0; } -static inline int munlockall (void) { return 0; } +static __inline__ int mlock (__const void *__addr, size_t __len) { return 0; } +static __inline__ int munlock (__const void *__addr, size_t __len) { return 0; } +static __inline__ int mlockall (int __flags) { return 0; } +static __inline__ int munlockall (void) { return 0; } #endif #endif /* __UCLIBC_HAS_REALTIME__ */ diff --git a/include/sys/personality.h b/include/sys/personality.h index 5d14a9bc8..154b1131a 100644 --- a/include/sys/personality.h +++ b/include/sys/personality.h @@ -38,7 +38,7 @@ enum These go in the low byte. Avoid using the top bit, it will conflict with error returns. */ -enum +enum { PER_LINUX = 0x0000, PER_LINUX_32BIT = 0x0000 | ADDR_LIMIT_32BIT, |
