diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-08-12 23:58:35 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-08-12 23:58:35 +0000 |
commit | c173c3d0a6e164e6a372c61b4767aca5a58ae143 (patch) | |
tree | a60282318d2c6397d1d5697bd94aa6031aa1a9d5 | |
parent | e20744dc3d7f3b2b8e56fafc3a8f2fa5c592f83d (diff) |
seminfo.semmap and SEMMAP are not used; kill them
Solaris doesn't have these either...
-rw-r--r-- | sys/conf/param.c | 3 | ||||
-rw-r--r-- | sys/sys/sem.h | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/sys/conf/param.c b/sys/conf/param.c index 7d49d1e06dc..22a8feeed3f 100644 --- a/sys/conf/param.c +++ b/sys/conf/param.c @@ -1,4 +1,4 @@ -/* $OpenBSD: param.c,v 1.14 2001/07/05 10:12:22 art Exp $ */ +/* $OpenBSD: param.c,v 1.15 2001/08/12 23:58:34 millert Exp $ */ /* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */ /* @@ -132,7 +132,6 @@ struct shminfo shminfo = { */ #ifdef SYSVSEM struct seminfo seminfo = { - SEMMAP, /* # of entries in semaphore map */ SEMMNI, /* # of semaphore identifiers */ SEMMNS, /* # of semaphores in system */ SEMMNU, /* # of undo structures in system */ diff --git a/sys/sys/sem.h b/sys/sys/sem.h index f27ddb7d063..6d899d93c28 100644 --- a/sys/sys/sem.h +++ b/sys/sys/sem.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sem.h,v 1.9 2001/08/12 22:50:12 millert Exp $ */ +/* $OpenBSD: sem.h,v 1.10 2001/08/12 23:58:34 millert Exp $ */ /* $NetBSD: sem.h,v 1.8 1996/02/09 18:25:29 christos Exp $ */ /* @@ -112,8 +112,7 @@ struct sem_undo { * semaphore info struct */ struct seminfo { - int semmap, /* # of entries in semaphore map */ - semmni, /* # of semaphore identifiers */ + int semmni, /* # of semaphore identifiers */ semmns, /* # of semaphores in system */ semmnu, /* # of undo structures in system */ semmsl, /* max # of semaphores per id */ @@ -146,9 +145,6 @@ extern struct seminfo seminfo; #endif /* shouldn't need tuning */ -#ifndef SEMMAP -#define SEMMAP 30 /* # of entries in semaphore map */ -#endif #ifndef SEMMSL #define SEMMSL SEMMNS /* max # of semaphores per id */ #endif |