diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2011-05-17 17:37:58 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2011-05-17 17:37:58 +0000 |
commit | 09eed402a241ee5ac91525bd4394c12401e398cc (patch) | |
tree | 0def3db6027cfc47856f8023aa8051e37d1ce9c0 /lib/libsbuf | |
parent | f83e8b25c1ef10af62fabdd117aec0db71d33cc3 (diff) | |
download | src-09eed402a241ee5ac91525bd4394c12401e398cc.tar.gz src-09eed402a241ee5ac91525bd4394c12401e398cc.zip |
Bump shlib version
Instigate symbol versioning
Pray that I don't break the build.
Notes
Notes:
svn path=/head/; revision=222033
Diffstat (limited to 'lib/libsbuf')
-rw-r--r-- | lib/libsbuf/Makefile | 11 | ||||
-rw-r--r-- | lib/libsbuf/Symbol.map | 24 | ||||
-rw-r--r-- | lib/libsbuf/Version.def | 6 |
3 files changed, 38 insertions, 3 deletions
diff --git a/lib/libsbuf/Makefile b/lib/libsbuf/Makefile index 5d96c0e983e6..79d3fe973e05 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 000000000000..75af55838871 --- /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 000000000000..cf8a7d41d29b --- /dev/null +++ b/lib/libsbuf/Version.def @@ -0,0 +1,6 @@ +/* + * $FreeBSD$ + */ + +FBSD_1.2 { +}; |