From ae549acff0899cbec32bd2a1353a99ea26d6bc00 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 22 Oct 2008 13:36:10 +0000 Subject: - remove superfluous ';'. No objcode changes. --- libc/misc/sysvipc/__syscall_ipc.c | 2 +- libc/misc/sysvipc/msgq.c | 4 ++-- libc/misc/sysvipc/sem.c | 6 +++--- libc/misc/sysvipc/shm.c | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'libc/misc') diff --git a/libc/misc/sysvipc/__syscall_ipc.c b/libc/misc/sysvipc/__syscall_ipc.c index 99dfbf49f..304a42c29 100644 --- a/libc/misc/sysvipc/__syscall_ipc.c +++ b/libc/misc/sysvipc/__syscall_ipc.c @@ -13,5 +13,5 @@ #define __NR___syscall_ipc __NR_ipc #include "ipc.h" _syscall6(int, __syscall_ipc, unsigned int, call, long, first, long, second, long, - third, void *, ptr, void *, fifth); + third, void *, ptr, void *, fifth) #endif diff --git a/libc/misc/sysvipc/msgq.c b/libc/misc/sysvipc/msgq.c index d83ed2208..e43a9ed04 100644 --- a/libc/misc/sysvipc/msgq.c +++ b/libc/misc/sysvipc/msgq.c @@ -43,7 +43,7 @@ struct new_msg_buf{ #ifdef L_msgrcv #ifdef __NR_msgrcv -_syscall5(int, msgrcv, int, msqid, void *, msgp, size_t, msgsz, long int, msgtyp, int, msgflg); +_syscall5(int, msgrcv, int, msqid, void *, msgp, size_t, msgsz, long int, msgtyp, int, msgflg) #else int msgrcv (int msqid, void *msgp, size_t msgsz, long int msgtyp, int msgflg) @@ -61,7 +61,7 @@ int msgrcv (int msqid, void *msgp, size_t msgsz, #ifdef L_msgsnd #ifdef __NR_msgsnd -_syscall4(int, msgsnd, int, msqid, const void *, msgp, size_t, msgsz, int, msgflg); +_syscall4(int, msgsnd, int, msqid, const void *, msgp, size_t, msgsz, int, msgflg) #else /* Send message to message queue. */ int msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg) diff --git a/libc/misc/sysvipc/sem.c b/libc/misc/sysvipc/sem.c index d7de5a346..96d6a6ee5 100644 --- a/libc/misc/sysvipc/sem.c +++ b/libc/misc/sysvipc/sem.c @@ -63,7 +63,7 @@ int semctl(int semid, int semnum, int cmd, ...) #ifdef L_semget #ifdef __NR_semget -_syscall3(int, semget, key_t, key, int, nsems, int, semflg); +_syscall3(int, semget, key_t, key, int, nsems, int, semflg) #else /* Return identifier for array of NSEMS semaphores associated @@ -78,7 +78,7 @@ int semget (key_t key, int nsems, int semflg) #ifdef L_semop #ifdef __NR_semop -_syscall3(int, semop, int, semid, struct sembuf *, sops, size_t, nsops); +_syscall3(int, semop, int, semid, struct sembuf *, sops, size_t, nsops) #else /* Perform user-defined atomical operation of array of semaphores. */ @@ -92,7 +92,7 @@ int semop (int semid, struct sembuf *sops, size_t nsops) #ifdef L_semtimedop #ifdef __NR_semtimedop -_syscall4(int, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout); +_syscall4(int, semtimedop, int, semid, struct sembuf *, sops, size_t, nsops, const struct timespec *, timeout) #else diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c index b1af943b8..9d71161cb 100644 --- a/libc/misc/sysvipc/shm.c +++ b/libc/misc/sysvipc/shm.c @@ -34,7 +34,7 @@ # define __NR_shmat __NR_osf_shmat #endif #ifdef __NR_shmat -_syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg); +_syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg) #else /* psm: don't remove this, else mips will fail */ #include @@ -73,7 +73,7 @@ int shmctl(int shmid, int cmd, struct shmid_ds *buf) /* Detach shared memory segment starting at address specified by SHMADDR from the caller's data segment. */ #ifdef __NR_shmdt -_syscall1(int, shmdt, const void *, shmaddr); +_syscall1(int, shmdt, const void *, shmaddr) #else int shmdt (const void *shmaddr) { @@ -86,7 +86,7 @@ int shmdt (const void *shmaddr) /* Return an identifier for an shared memory segment of at least size SIZE which is associated with KEY. */ #ifdef __NR_shmget -_syscall3(int, shmget, key_t, key, size_t, size, int, shmflg); +_syscall3(int, shmget, key_t, key, size_t, size, int, shmflg) #else int shmget (key_t key, size_t size, int shmflg) { -- cgit v1.2.3