diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-02 13:12:59 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-02 13:12:59 -0500 |
| commit | aa2c7727b1ee7b3747681f6b78f9ef0d36beb749 (patch) | |
| tree | 2d637999ffbf3661fa5ef2e6e93bf40bff13672f /nonstd/stubs/sys | |
| parent | a4bd7a9c848d024ecb9c2bd9af0facaec728ba30 (diff) | |
trim old nonstd
Diffstat (limited to 'nonstd/stubs/sys')
| -rw-r--r-- | nonstd/stubs/sys/mman.h | 13 | ||||
| -rw-r--r-- | nonstd/stubs/sys/stat.h | 0 | ||||
| -rw-r--r-- | nonstd/stubs/sys/types.h | 1 |
3 files changed, 0 insertions, 14 deletions
diff --git a/nonstd/stubs/sys/mman.h b/nonstd/stubs/sys/mman.h deleted file mode 100644 index 01a201eb..00000000 --- a/nonstd/stubs/sys/mman.h +++ /dev/null @@ -1,13 +0,0 @@ -#include "nonstd/types.h" - -#ifndef PROT_READ -# define PROT_READ 0x1 -#endif -#ifndef PROT_WRITE -# define PROT_WRITE 0x2 -#endif -#ifndef MAP_PRIVATE -# define MAP_PRIVATE 0x02 -#endif - -#define mmap(_a, _l, _p, _f, _d, _o) __libc.syscall(__libc.syscall_lookup("mmap"), _a, _l, _p, _f, _d, _o) diff --git a/nonstd/stubs/sys/stat.h b/nonstd/stubs/sys/stat.h deleted file mode 100644 index e69de29b..00000000 --- a/nonstd/stubs/sys/stat.h +++ /dev/null diff --git a/nonstd/stubs/sys/types.h b/nonstd/stubs/sys/types.h deleted file mode 100644 index 5fe25895..00000000 --- a/nonstd/stubs/sys/types.h +++ /dev/null @@ -1 +0,0 @@ -typedef int pid_t; |
