summaryrefslogtreecommitdiffstats
path: root/lib/libsbuf
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2011-05-17 17:37:58 +0000
committerphk <phk@FreeBSD.org>2011-05-17 17:37:58 +0000
commit354373661265494684420cb980028b41e70c6cc2 (patch)
tree0def3db6027cfc47856f8023aa8051e37d1ce9c0 /lib/libsbuf
parent8d84cd707eeb0b0ac73faf9e47d6f7ee2c34d821 (diff)
downloadFreeBSD-src-354373661265494684420cb980028b41e70c6cc2.zip
FreeBSD-src-354373661265494684420cb980028b41e70c6cc2.tar.gz
Bump shlib version
Instigate symbol versioning Pray that I don't break the build.
Diffstat (limited to 'lib/libsbuf')
-rw-r--r--lib/libsbuf/Makefile11
-rw-r--r--lib/libsbuf/Symbol.map24
-rw-r--r--lib/libsbuf/Version.def6
3 files changed, 38 insertions, 3 deletions
diff --git a/lib/libsbuf/Makefile b/lib/libsbuf/Makefile
index 5d96c0e..79d3fe9 100644
--- a/lib/libsbuf/Makefile
+++ b/lib/libsbuf/Makefile
@@ -1,8 +1,13 @@
# $FreeBSD$
-LIB= sbuf
-SHLIBDIR?= /lib
-SRCS= subr_sbuf.c
+LIB= sbuf
+SHLIBDIR?= /lib
+SRCS= subr_sbuf.c
+
+SHLIB_MAJOR = 6
+
+SYMBOL_MAPS= ${.CURDIR}/Symbol.map
+VERSION_DEF= ${.CURDIR}/Version.def
.PATH: ${.CURDIR}/../../sys/kern
diff --git a/lib/libsbuf/Symbol.map b/lib/libsbuf/Symbol.map
new file mode 100644
index 0000000..75af558
--- /dev/null
+++ b/lib/libsbuf/Symbol.map
@@ -0,0 +1,24 @@
+/*
+ * $FreeBSD$
+ */
+
+FBSD_1.2 {
+ sbuf_new;
+ sbuf_clear;
+ sbuf_setpos;
+ sbuf_bcat;
+ sbuf_bcpy;
+ sbuf_cat;
+ sbuf_cpy;
+ sbuf_printf;
+ sbuf_vprintf;
+ sbuf_putc;
+ sbuf_set_drain;
+ sbuf_trim;
+ sbuf_error;
+ sbuf_finish;
+ sbuf_data;
+ sbuf_len;
+ sbuf_done;
+ sbuf_delete;
+};
diff --git a/lib/libsbuf/Version.def b/lib/libsbuf/Version.def
new file mode 100644
index 0000000..cf8a7d4
--- /dev/null
+++ b/lib/libsbuf/Version.def
@@ -0,0 +1,6 @@
+/*
+ * $FreeBSD$
+ */
+
+FBSD_1.2 {
+};
OpenPOWER on IntegriCloud