diff options
Diffstat (limited to 'libc/misc/sysvipc')
-rw-r--r-- | libc/misc/sysvipc/ftok.c | 2 | ||||
-rw-r--r-- | libc/misc/sysvipc/msgq.c | 6 | ||||
-rw-r--r-- | libc/misc/sysvipc/shm.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/libc/misc/sysvipc/ftok.c b/libc/misc/sysvipc/ftok.c index 12627cad1..200d5cf90 100644 --- a/libc/misc/sysvipc/ftok.c +++ b/libc/misc/sysvipc/ftok.c @@ -20,7 +20,7 @@ #include <sys/ipc.h> #include <sys/stat.h> -libc_hidden_proto(stat) +/* libc_hidden_proto(stat) */ key_t ftok (const char *pathname, int proj_id) { diff --git a/libc/misc/sysvipc/msgq.c b/libc/misc/sysvipc/msgq.c index 34b398bb6..8271ffbef 100644 --- a/libc/misc/sysvipc/msgq.c +++ b/libc/misc/sysvipc/msgq.c @@ -12,7 +12,7 @@ #ifdef __NR_msgctl #define __NR___libc_msgctl __NR_msgctl -static __inline__ _syscall3(int, __libc_msgctl, int, msqid, int, cmd, struct msqid_ds *, buf); +static __inline__ _syscall3(int, __libc_msgctl, int, msqid, int, cmd, struct msqid_ds *, buf) #endif /* Message queue control operation. */ int msgctl(int msqid, int cmd, struct msqid_ds *buf) @@ -50,7 +50,7 @@ struct new_msg_buf{ #ifdef __NR_msgrcv #define __NR___syscall_msgrcv __NR_msgrcv static inline _syscall5(int, __syscall_msgrcv, int, msqid, void *, msgp, - size_t, msgsz, long int, msgtyp, int, msgflg); + size_t, msgsz, long int, msgtyp, int, msgflg) #endif static inline int do_msgrcv (int msqid, void *msgp, size_t msgsz, long int msgtyp, int msgflg) @@ -85,7 +85,7 @@ int msgrcv (int msqid, void *msgp, size_t msgsz, #ifdef __NR_msgsnd #define __NR___syscall_msgsnd __NR_msgsnd static inline _syscall4(int, __syscall_msgsnd, int, msqid, const void *, msgp, - size_t, msgsz, int, msgflg); + size_t, msgsz, int, msgflg) #endif /* Send message to message queue. */ static inline int do_msgsnd (int msqid, const void *msgp, size_t msgsz, diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c index 9d71161cb..164580efe 100644 --- a/libc/misc/sysvipc/shm.c +++ b/libc/misc/sysvipc/shm.c @@ -38,7 +38,7 @@ _syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg) #else /* psm: don't remove this, else mips will fail */ #include <unistd.h> -libc_hidden_proto(getpagesize) +/* libc_hidden_proto(getpagesize) */ void * shmat (int shmid, const void *shmaddr, int shmflg) { |