aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/Makefile1
-rw-r--r--db/libdb.map12
2 files changed, 13 insertions, 0 deletions
diff --git a/db/Makefile b/db/Makefile
index 331c8b1..9f45e9f 100644
--- a/db/Makefile
+++ b/db/Makefile
@@ -19,6 +19,7 @@ libdb-routines := bt_close bt_conv bt_debug bt_delete bt_get \
mpool \
rec_close rec_delete rec_get rec_open rec_put rec_search \
rec_seq rec_utils
+libdb-map := libdb.map
headers := db.h mpool.h ndbm.h
distribute := compat.h \
diff --git a/db/libdb.map b/db/libdb.map
new file mode 100644
index 0000000..5be731c
--- /dev/null
+++ b/db/libdb.map
@@ -0,0 +1,12 @@
+GLIBC_2.0 {
+ global:
+ # the real DB entry point.
+ dbopen;
+
+ # The compatibility functions.
+ dbm_clearerr; dbm_close; dbm_delete; dbm_dirfno; dbm_error;
+ dbm_fetch; dbm_firstkey; dbm_nextkey; dbm_open; dbm_store;
+
+ local:
+ *;
+}; \ No newline at end of file