From aa2c7727b1ee7b3747681f6b78f9ef0d36beb749 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 2 Feb 2019 13:12:59 -0500 Subject: trim old nonstd --- nonstd/stubs/sys/mman.h | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 nonstd/stubs/sys/mman.h (limited to 'nonstd/stubs/sys/mman.h') 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) -- cgit v1.2.1