summaryrefslogtreecommitdiff
path: root/src/nonstd/SYSCALL0.c
diff options
context:
space:
mode:
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); \