aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_sqlite3_errstr.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 /compat_sqlite3_errstr.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 'compat_sqlite3_errstr.c')
-rw-r--r--compat_sqlite3_errstr.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/compat_sqlite3_errstr.c b/compat_sqlite3_errstr.c
deleted file mode 100644
index 8a6ace28..00000000
--- a/compat_sqlite3_errstr.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "config.h"
-
-#if HAVE_SQLITE3_ERRSTR
-
-int dummy;
-
-#else
-
-const char *
-sqlite3_errstr(int rc)
-{
-
- return rc ? "unknown error" : "not an error";
-}
-
-#endif