Deleted Added
full compact
sysv_sem.c (12866) sysv_sem.c (13060)
1/* $Id: sysv_sem.c,v 1.11 1995/12/14 08:31:52 phk Exp $ */
1/* $Id: sysv_sem.c,v 1.12 1995/12/15 05:00:30 peter Exp $ */
2
3/*
4 * Implementation of SVID semaphores
5 *
6 * Author: Daniel Boulet
7 *
8 * This software is provided ``AS IS'' without any warranties of any kind.
9 */

--- 20 unchanged lines hidden (view full) ---

30int semconfig __P((struct proc *p, struct semconfig_args *uap,
31 int *retval));
32#endif
33
34static struct sem_undo *semu_alloc __P((struct proc *p));
35static int semundo_adjust __P((struct proc *p, struct sem_undo **supptr,
36 int semid, int semnum, int adjval));
37static void semundo_clear __P((int semid, int semnum));
2
3/*
4 * Implementation of SVID semaphores
5 *
6 * Author: Daniel Boulet
7 *
8 * This software is provided ``AS IS'' without any warranties of any kind.
9 */

--- 20 unchanged lines hidden (view full) ---

30int semconfig __P((struct proc *p, struct semconfig_args *uap,
31 int *retval));
32#endif
33
34static struct sem_undo *semu_alloc __P((struct proc *p));
35static int semundo_adjust __P((struct proc *p, struct sem_undo **supptr,
36 int semid, int semnum, int adjval));
37static void semundo_clear __P((int semid, int semnum));
38static void semexit __P((struct proc *p));
39
40/* XXX casting to (sy_call_t *) is bogus, as usual. */
41static sy_call_t *semcalls[] = {
42 (sy_call_t *)__semctl, (sy_call_t *)semget,
43 (sy_call_t *)semop, (sy_call_t *)semconfig
44};
45
46static int semtot = 0;

--- 939 unchanged lines hidden ---
38
39/* XXX casting to (sy_call_t *) is bogus, as usual. */
40static sy_call_t *semcalls[] = {
41 (sy_call_t *)__semctl, (sy_call_t *)semget,
42 (sy_call_t *)semop, (sy_call_t *)semconfig
43};
44
45static int semtot = 0;

--- 939 unchanged lines hidden ---