diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-31 15:21:24 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-31 15:21:24 +0000 |
| commit | dd7d7e3f138d1835d153c316f3d771e40dc641ba (patch) | |
| tree | 7427232d1e9759028490f843152a83a4bbbab7db /include/sys | |
| parent | 89ed2cccba266f7738ceb445e4d43103c08cbe75 (diff) | |
| download | uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.bz2 uClibc-alpine-dd7d7e3f138d1835d153c316f3d771e40dc641ba.tar.xz | |
Synch with trunk at rev 22997.
Basically trailing whitespaces removal, fix non standard keywords
asm -> __asm__ inline -> __inline__ and some minor changes on trunk.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
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, |
