diff options
Diffstat (limited to 'sysvipc/sys')
-rw-r--r-- | sysvipc/sys/shm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h index 11f9e7aa07..9ee61e4a1b 100644 --- a/sysvipc/sys/shm.h +++ b/sysvipc/sys/shm.h @@ -46,7 +46,7 @@ extern int shmctl __P ((int __shmid, int __cmd, struct shmid_ds *__buf)); extern int shmget __P ((key_t __key, int __size, int __shmflg)); /* Attach shared memory segment. */ -extern int shmat __P ((int __shmid, char *__shmaddr, int __shmflg)); +extern char *shmat __P ((int __shmid, char *__shmaddr, int __shmflg)); /* Detach shared memory segment. */ extern int shmdt __P ((char *__shmaddr)); |