about summary refs log tree commit diff
path: root/sysvipc/sys/shm.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
commitc1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch)
tree7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /sysvipc/sys/shm.h
parenta4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff)
downloadglibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.xz
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip
Update.
	Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'sysvipc/sys/shm.h')
-rw-r--r--sysvipc/sys/shm.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h
index 6dce0a8155..4f30ad8f92 100644
--- a/sysvipc/sys/shm.h
+++ b/sysvipc/sys/shm.h
@@ -33,7 +33,7 @@
 
 /* Segment low boundary address multiple.  */
 #define SHMLBA		(__getpagesize ())
-extern int __getpagesize __P ((void));
+extern int __getpagesize (void) __THROW;
 
 
 /* The following System V style IPC functions implement a shared memory
@@ -42,16 +42,17 @@ extern int __getpagesize __P ((void));
 __BEGIN_DECLS
 
 /* Shared memory control operation.  */
-extern int shmctl __P ((int __shmid, int __cmd, struct shmid_ds *__buf));
+extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;
 
 /* Get shared memory segment.  */
-extern int shmget __P ((key_t __key, size_t __size, int __shmflg));
+extern int shmget (key_t __key, size_t __size, int __shmflg) __THROW;
 
 /* Attach shared memory segment.  */
-extern void *shmat __P ((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 __P ((__const void *__shmaddr));
+extern int shmdt (__const void *__shmaddr) __THROW;
 
 __END_DECLS