summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/nice.c
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 /libc/sysdeps/linux/common/nice.c
parentd35b0bc119816825a657f7c9c2a1f062e7048c39 (diff)
- fix inline keyword
Diffstat (limited to 'libc/sysdeps/linux/common/nice.c')
-rw-r--r--libc/sysdeps/linux/common/nice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/nice.c b/libc/sysdeps/linux/common/nice.c
index 393ffef4e..8ced60915 100644
--- a/libc/sysdeps/linux/common/nice.c
+++ b/libc/sysdeps/linux/common/nice.c
@@ -17,7 +17,7 @@ libc_hidden_proto(getpriority)
#ifdef __NR_nice
# define __NR___syscall_nice __NR_nice
-static inline _syscall1(int, __syscall_nice, int, incr);
+static __inline__ _syscall1(int, __syscall_nice, int, incr);
#else
@@ -25,7 +25,7 @@ static inline _syscall1(int, __syscall_nice, int, incr);
libc_hidden_proto(setpriority)
-static inline int int_add_no_wrap(int a, int b)
+static __inline__ int int_add_no_wrap(int a, int b)
{
int s = a + b;
@@ -38,7 +38,7 @@ static inline int int_add_no_wrap(int a, int b)
return s;
}
-static inline int __syscall_nice(int incr)
+static __inline__ int __syscall_nice(int incr)
{
int old_priority;
# if 1