2
0
genodepkgs/toolchain-overlay/libc/semaphore.patch
Emery Hemingway 734f38fabb Refactor for clarity
Mode around for the sake of clarity, pin Nixpkgs with fetchGit for
convenience.
2019-09-25 13:48:34 +02:00

12 lines
351 B
Diff

--- src/lib/libc/include/semaphore.h 2019-04-09 14:12:29.619185765 +0200
+++ src/lib/libc/include/semaphore.h.new 2019-04-09 14:31:35.913650094 +0200
@@ -46,7 +46,7 @@
__uint32_t _padding; /* Preserve structure size */
};
-typedef struct _sem sem_t;
+typedef struct sem* sem_t;
#define SEM_FAILED ((sem_t *)0)
#define SEM_VALUE_MAX __INT_MAX