diff options
Diffstat (limited to 'include/sys/shm.h')
-rw-r--r-- | include/sys/shm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/shm.h b/include/sys/shm.h index fc9a99d37..8f04adeb4 100644 --- a/include/sys/shm.h +++ b/include/sys/shm.h @@ -53,11 +53,11 @@ extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW; extern int shmget (key_t __key, size_t __size, int __shmflg) __THROW; /* Attach shared memory segment. */ -extern void *shmat (int __shmid, __const void *__shmaddr, int __shmflg) +extern void *shmat (int __shmid, const void *__shmaddr, int __shmflg) __THROW; /* Detach shared memory segment. */ -extern int shmdt (__const void *__shmaddr) __THROW; +extern int shmdt (const void *__shmaddr) __THROW; __END_DECLS |