diff options
author | dg <dg@FreeBSD.org> | 1994-09-17 13:24:29 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-09-17 13:24:29 +0000 |
commit | 88bd88b7a08c637b5d4f91001df5ea3e2b20ef4b (patch) | |
tree | bb422f24de529062253c85a420d7b5dd1ec74bc6 /sys/kern/sysv_sem.c | |
parent | a9cbb4294c69a9d8cc6f8813b32af6cc2ff87e06 (diff) | |
download | FreeBSD-src-88bd88b7a08c637b5d4f91001df5ea3e2b20ef4b.zip FreeBSD-src-88bd88b7a08c637b5d4f91001df5ea3e2b20ef4b.tar.gz |
Got rid of compiler warnings.
Diffstat (limited to 'sys/kern/sysv_sem.c')
-rw-r--r-- | sys/kern/sysv_sem.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c index fb0ff5f..53a2e9f 100644 --- a/sys/kern/sysv_sem.c +++ b/sys/kern/sysv_sem.c @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id: sysv_sem.c,v 1.1 1994/09/13 14:47:00 dfr Exp $ */ /* * Implementation of SVID semaphores @@ -21,7 +21,7 @@ int semtot = 0; static struct proc *semlock_holder = NULL; -int +void seminit() { register int i; @@ -182,6 +182,7 @@ semu_alloc(p) panic("semu_alloc - second attempt failed"); } } + return (NULL); } /* @@ -833,6 +834,7 @@ done: * Go through the undo structures for this process and apply the adjustments to * semaphores. */ +void semexit(p) struct proc *p; { |