summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/shm.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:47:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:47:23 +0000
commit9eb7e16e2557ada5e81814492eedac426711760f (patch)
treebc794273f3cda342664479a785a8f581a812645e /libc/misc/sysvipc/shm.c
parentdc3e1771cd0074a32581967f34fd94b98eaa672a (diff)
declare the internal syscalls static inline
Diffstat (limited to 'libc/misc/sysvipc/shm.c')
-rw-r--r--libc/misc/sysvipc/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c
index 20e28d3b1..33fd16153 100644
--- a/libc/misc/sysvipc/shm.c
+++ b/libc/misc/sysvipc/shm.c
@@ -52,7 +52,7 @@ void * shmat (int shmid, const void *shmaddr, int shmflg)
/* Provide operations to control over shared memory segments. */
#ifdef __NR_shmctl
#define __NR___libc_shmctl __NR_shmctl
-_syscall3(int, __libc_shmctl, int, shmid, int, cmd, struct shmid_ds *, buf);
+static inline _syscall3(int, __libc_shmctl, int, shmid, int, cmd, struct shmid_ds *, buf);
#endif
int shmctl(int shmid, int cmd, struct shmid_ds *buf)
{