summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-08-13 15:10:21 +0000
committermillert <millert@openbsd.org>2001-08-13 15:10:21 +0000
commite423a13d7080c868bd0b9ef9a16e39c0ba40537f (patch)
tree41a202dea614ed410c81bd61c260d8fc6ad374f8
parentDon't reference seminfo.semmap as it no longer exists. (diff)
downloadwireguard-openbsd-e423a13d7080c868bd0b9ef9a16e39c0ba40537f.tar.xz
wireguard-openbsd-e423a13d7080c868bd0b9ef9a16e39c0ba40537f.zip
Declare globals made extern in sys/sem.h; naddy@
-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;