Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
19 lines
347 B
C
19 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;
|