Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/misc/buffer/files/patch-sem.c
16125 views
1
--- sem.c.orig Tue Dec 13 00:33:03 2005
2
+++ sem.c Tue Dec 13 00:35:22 2005
3
@@ -27,6 +27,7 @@
4
* semaphores */
5
6
#include <stdio.h>
7
+#include <unistd.h>
8
#include <sys/types.h>
9
#include <sys/stat.h>
10
#include <sys/ipc.h>
11
@@ -95,7 +96,7 @@
12
return sem;
13
}
14
15
-static
16
+static void
17
do_sem( sem_id, pbuf, err )
18
int sem_id;
19
struct sembuf *pbuf;
20
21