Bump shlib version

Instigate symbol versioning
Pray that I don't break the build.
This commit is contained in:
Poul-Henning Kamp 2011-05-17 17:37:58 +00:00
parent f83e8b25c1
commit 09eed402a2
3 changed files with 38 additions and 3 deletions

View File

@ -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

24
lib/libsbuf/Symbol.map Normal file
View File

@ -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;
};

6
lib/libsbuf/Version.def Normal file
View File

@ -0,0 +1,6 @@
/*
* $FreeBSD$
*/
FBSD_1.2 {
};