diff options
author | bde <bde@FreeBSD.org> | 1995-07-12 19:10:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-07-12 19:10:17 +0000 |
commit | 9bdc2db62de7e8111884c3ddff9cb6b245b54334 (patch) | |
tree | 7253742378962ac30500b0b6ca1e13d825c952e2 /usr.bin | |
parent | a7d94821dde0e12249404640402b25ffd104c5c6 (diff) | |
download | FreeBSD-src-9bdc2db62de7e8111884c3ddff9cb6b245b54334.zip FreeBSD-src-9bdc2db62de7e8111884c3ddff9cb6b245b54334.tar.gz |
Instantiate our own variables instead of depending on bogus common
declarations in system headers that will be fixed soon.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ipcs/ipcs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c index a8c4d48..cd4e5cc 100644 --- a/usr.bin/ipcs/ipcs.c +++ b/usr.bin/ipcs/ipcs.c @@ -24,7 +24,7 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ipcs.c,v 1.2 1994/09/13 16:59:29 dfr Exp $ + * $Id: ipcs.c,v 1.3 1994/09/19 10:24:38 davidg Exp $ */ #include <stdio.h> @@ -46,9 +46,12 @@ #include <sys/shm.h> #include <sys/msg.h> -struct shminfo shminfo; +struct semid_ds *sema; struct seminfo seminfo; struct msginfo msginfo; +struct msqid_ds *msqids; +struct shminfo shminfo; +struct shmid_ds *shmsegs; int semconfig __P((int,...)); void usage __P((void)); |