summaryrefslogtreecommitdiff
path: root/usr.bin/ipcs
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-08-13 15:10:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-08-13 15:10:22 +0000
commit63d0161b903971442ca759859d39a4c710f1cc8b (patch)
tree56871f03994b62a692ab5a61f5605850371eb88c /usr.bin/ipcs
parent93a6ac1bed56a5b5eeda3577e4c9ed9dbc00c9ad (diff)
Declare globals made extern in sys/sem.h; naddy@
Diffstat (limited to 'usr.bin/ipcs')
-rw-r--r--usr.bin/ipcs/ipcs.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c
index 5dc40f6b4ec..78fb7834369 100644
--- a/usr.bin/ipcs/ipcs.c
+++ b/usr.bin/ipcs/ipcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipcs.c,v 1.14 2001/08/13 15:04:29 millert Exp $ */
+/* $OpenBSD: ipcs.c,v 1.15 2001/08/13 15:10:21 millert Exp $ */
/* $NetBSD: ipcs.c,v 1.10.6.1 1996/06/07 01:53:47 thorpej Exp $ */
/*
@@ -130,6 +130,13 @@ main(argc, argv)
int argc;
char *argv[];
{
+ struct semid_ds *sema;
+ struct seminfo seminfo;
+ int semu;
+ struct msginfo msginfo;
+ struct msqid_ds *msqids;
+ struct shminfo shminfo;
+ struct shmid_ds *shmsegs;
int display = SHMINFO | MSGINFO | SEMINFO;
int option = 0;
char *core = NULL, *namelist = NULL;