summaryrefslogtreecommitdiff
path: root/src/nonstd/SYSCALL0.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 19:27:55 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 19:27:55 -0500
commitfe83840aa8e672c6391fa9642516e41a144340c5 (patch)
tree993cd5ea966f6e9979b6ddc5be3bf10c80ed72a1 /src/nonstd/SYSCALL0.c
parent77a1100e9523c395fd0a27cbc4d1fa5b93ba4351 (diff)
unbreak
Diffstat (limited to 'src/nonstd/SYSCALL0.c')
-rw-r--r--src/nonstd/SYSCALL0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nonstd/SYSCALL0.c b/src/nonstd/SYSCALL0.c
index c52a944d..c9359035 100644
--- a/src/nonstd/SYSCALL0.c
+++ b/src/nonstd/SYSCALL0.c
@@ -1,6 +1,6 @@
#include <nonstd/syscall.h>
-#define SYSCALL0(_name, _type)
+#define SYSCALL0(_name, _type) \
static int _scno = -2; \
if (_scno == -2) { _scno = ((sycall_lookup_t)__libc(LOOKUP))(_name); } \
_type _ret = __syscall(_scno); \