]> sourceware.org Git - glibc.git/commitdiff
2000-03-31 Andreas Jaeger <aj@suse.de>
authorAndreas Jaeger <aj@suse.de>
Fri, 31 Mar 2000 10:21:40 +0000 (10:21 +0000)
committerAndreas Jaeger <aj@suse.de>
Fri, 31 Mar 2000 10:21:40 +0000 (10:21 +0000)
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.

* sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
SHLIB_COMPAT - the struct is always needed.

sysdeps/unix/sysv/linux/semctl.c
sysdeps/unix/sysv/linux/shmctl.c

index cc8a5387e1bf9a748568c0c7f5eb15ba687a39e0..7ea8ee6c397c245b4842e46b1d7a3f8673c212b4 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "kernel-features.h"
 
-#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
 struct __old_semid_ds
 {
   struct __old_ipc_perm sem_perm;      /* operation permission struct */
@@ -41,7 +40,6 @@ struct __old_semid_ds
   struct sem_undo *__undo;             /* ondo requests on this array */
   unsigned short int sem_nsems;                /* number of semaphores in set */
 };
-#endif
 
 /* Define a `union semun' suitable for Linux here.  */
 union semun
index 7514f2a6897aa6b5e242f8afdc8a0b8ea7a657db..f2f7340f7b7784f4f7f9c13635a4d67beb1e86ef 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "kernel-features.h"
 
-#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
 struct __old_shmid_ds
 {
   struct __old_ipc_perm shm_perm;      /* operation permission struct */
@@ -55,6 +54,7 @@ struct __old_shminfo
 };
 
 /* Provide operations to control over shared memory segments.  */
+#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
 int __old_shmctl (int, int, struct __old_shmid_ds *);
 #endif
 int __new_shmctl (int, int, struct shmid_ds *);
This page took 0.043826 seconds and 5 git commands to generate.