summaryrefslogtreecommitdiff
path: root/src/nonstd/SYSCALL_NUMBER.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/SYSCALL_NUMBER.c')
-rw-r--r--src/nonstd/SYSCALL_NUMBER.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nonstd/SYSCALL_NUMBER.c b/src/nonstd/SYSCALL_NUMBER.c
deleted file mode 100644
index 10f2aeeb..00000000
--- a/src/nonstd/SYSCALL_NUMBER.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <nonstd/syscall.h>
-
-#define SYSCALL_NUMBER(_var, _name, _notfound) \
- static long _var = -2; do { \
- if (_var == -2) { (_var) = ((long (*)(char*))__libc(SYSCALL_LOOKUP))(_name); } \
- if (_var == -1) { errno = ENOSYS; return (_notfound); } \
- } while (0)