diff options
Diffstat (limited to 'sysvipc')
-rw-r--r-- | sysvipc/ftok.c | 4 | ||||
-rw-r--r-- | sysvipc/msgctl.c | 5 | ||||
-rw-r--r-- | sysvipc/msgget.c | 4 | ||||
-rw-r--r-- | sysvipc/msgrcv.c | 7 | ||||
-rw-r--r-- | sysvipc/msgsnd.c | 6 | ||||
-rw-r--r-- | sysvipc/semget.c | 5 | ||||
-rw-r--r-- | sysvipc/semop.c | 5 | ||||
-rw-r--r-- | sysvipc/shmat.c | 5 | ||||
-rw-r--r-- | sysvipc/shmctl.c | 5 | ||||
-rw-r--r-- | sysvipc/shmdt.c | 3 | ||||
-rw-r--r-- | sysvipc/shmget.c | 5 |
11 files changed, 11 insertions, 43 deletions
diff --git a/sysvipc/ftok.c b/sysvipc/ftok.c index 62974590d9..38fc465854 100644 --- a/sysvipc/ftok.c +++ b/sysvipc/ftok.c @@ -20,9 +20,7 @@ #include <sys/stat.h> key_t -ftok (pathname, proj_id) - const char *pathname; - int proj_id; +ftok (const char *pathname, int proj_id) { struct stat64 st; key_t key; diff --git a/sysvipc/msgctl.c b/sysvipc/msgctl.c index c532bd999d..e97664ac9a 100644 --- a/sysvipc/msgctl.c +++ b/sysvipc/msgctl.c @@ -23,10 +23,7 @@ objects. */ int -msgctl (msqid, cmd, buf) - int msqid; - int cmd; - struct msqid_ds *buf; +msgctl (int msqid, int cmd, struct msqid_ds *buf) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/msgget.c b/sysvipc/msgget.c index 0d68701e79..a1f0ebed0c 100644 --- a/sysvipc/msgget.c +++ b/sysvipc/msgget.c @@ -23,9 +23,7 @@ parameter describes how to proceed with clashing of key values. */ int -msgget (key, msgflg) - key_t key; - int msgflg; +msgget (key_t key, int msgflg) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/msgrcv.c b/sysvipc/msgrcv.c index 1a78f9e35a..00b869b303 100644 --- a/sysvipc/msgrcv.c +++ b/sysvipc/msgrcv.c @@ -26,12 +26,7 @@ in buffer overflow or queue underflow. */ ssize_t -msgrcv (msqid, msgp, msgsz, msgtyp, msgflg) - int msqid; - void *msgp; - size_t msgsz; - long msgtyp; - int msgflg; +msgrcv (int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/msgsnd.c b/sysvipc/msgsnd.c index 49eba4baac..140b459abd 100644 --- a/sysvipc/msgsnd.c +++ b/sysvipc/msgsnd.c @@ -26,11 +26,7 @@ when the limit of the message queue length is reached. */ int -msgsnd (msqid, msgp, msgsz, msgflg) - int msqid; - const void *msgp; - size_t msgsz; - int msgflg; +msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/semget.c b/sysvipc/semget.c index be850cdeea..e863ec6a3f 100644 --- a/sysvipc/semget.c +++ b/sysvipc/semget.c @@ -23,10 +23,7 @@ KEY. */ int -semget (key, nsems, semflg) - key_t key; - int nsems; - int semflg; +semget (key_t key, int nsems, int semflg) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/semop.c b/sysvipc/semop.c index 1f03797c7a..da6cc437df 100644 --- a/sysvipc/semop.c +++ b/sysvipc/semop.c @@ -22,10 +22,7 @@ /* Perform user-defined atomical operation of array of semaphores. */ int -semop (semid, sops, nsops) - int semid; - struct sembuf *sops; - size_t nsops; +semop (int semid, struct sembuf *sops, size_t nsops) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/shmat.c b/sysvipc/shmat.c index 30fb015c65..13b16cd9bd 100644 --- a/sysvipc/shmat.c +++ b/sysvipc/shmat.c @@ -24,10 +24,7 @@ and where the segment is attached. */ void * -shmat (shmid, shmaddr, shmflg) - int shmid; - const void *shmaddr; - int shmflg; +shmat (int shmid, const void *shmaddr, int shmflg) { __set_errno (ENOSYS); return (void *) -1; diff --git a/sysvipc/shmctl.c b/sysvipc/shmctl.c index 2c4f1982c4..e56515a096 100644 --- a/sysvipc/shmctl.c +++ b/sysvipc/shmctl.c @@ -22,10 +22,7 @@ /* Provide operations to control over shared memory segments. */ int -shmctl (shmid, cmd, buf) - int shmid; - int cmd; - struct shmid_ds *buf; +shmctl (int shmid, int cmd, struct shmid_ds *buf) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/shmdt.c b/sysvipc/shmdt.c index 660a69b6f0..174d674070 100644 --- a/sysvipc/shmdt.c +++ b/sysvipc/shmdt.c @@ -23,8 +23,7 @@ from the caller's data segment. */ int -shmdt (shmaddr) - const void *shmaddr; +shmdt (const void *shmaddr) { __set_errno (ENOSYS); return -1; diff --git a/sysvipc/shmget.c b/sysvipc/shmget.c index 973c0c790d..a84f8af252 100644 --- a/sysvipc/shmget.c +++ b/sysvipc/shmget.c @@ -23,10 +23,7 @@ which is associated with KEY. */ int -shmget (key, size, shmflg) - key_t key; - size_t size; - int shmflg; +shmget (key_t key, size_t size, int shmflg) { __set_errno (ENOSYS); return -1; |