mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
fae54139e3
o Add several patches from Gentoo portage CVS Approved by: maintainer (thanks jonny) Obtained from: Gentoo portage CVS
20 lines
347 B
C
20 lines
347 B
C
--- sem.c.orig Tue Dec 13 00:33:03 2005
|
|
+++ sem.c Tue Dec 13 00:35:22 2005
|
|
@@ -27,6 +27,7 @@
|
|
* semaphores */
|
|
|
|
#include <stdio.h>
|
|
+#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/ipc.h>
|
|
@@ -95,7 +96,7 @@
|
|
return sem;
|
|
}
|
|
|
|
-static
|
|
+static void
|
|
do_sem( sem_id, pbuf, err )
|
|
int sem_id;
|
|
struct sembuf *pbuf;
|