summaryrefslogtreecommitdiff
path: root/include/sys/mman.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:19:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:19:00 +0000
commitf1775381f91f1250b20f1949dfd0364ddb0ee9fc (patch)
tree1326bd7f4dfd8c57f89c4d6b2f13d4f22f578abf /include/sys/mman.h
parentd35b0bc119816825a657f7c9c2a1f062e7048c39 (diff)
- fix inline keyword
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r--include/sys/mman.h10
1 files changed, 5 insertions, 5 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__ */