aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-mmap.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-19 21:31:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-19 21:31:55 +0000
commit490252b369661e1862919f425cdaf44accbeb1ae (patch)
tree8a0b59b3e70291eee1659e8a3fa736fd5f16f6a4 /test-mmap.c
parente5f4a3c1625e925c77bedecad81068d453990bc5 (diff)
downloadmandoc-490252b369661e1862919f425cdaf44accbeb1ae.tar.gz
mandoc-490252b369661e1862919f425cdaf44accbeb1ae.tar.zst
mandoc-490252b369661e1862919f425cdaf44accbeb1ae.zip
Remove the dependency on SQLite without loss of functionality.
Stop supporting systems that don't have mmap(3). Drop the obsolete names_check() now that we deleted MLINKS.
Diffstat (limited to 'test-mmap.c')
-rw-r--r--test-mmap.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test-mmap.c b/test-mmap.c
deleted file mode 100644
index 3a6232d9..00000000
--- a/test-mmap.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <sys/types.h>
-#include <sys/mman.h>
-#include <stddef.h>
-
-int
-main(void)
-{
- return mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0) != MAP_FAILED;
-}