- Add symbol versioning to libprocstat.
Suggested by: kib
This commit is contained in:
parent
087a4650e2
commit
2f7e4c22b9
@ -12,6 +12,9 @@ SRCS= cd9660.c \
|
||||
smbfs.c \
|
||||
udf.c
|
||||
|
||||
VERSION_DEF= ${.CURDIR}/Versions.def
|
||||
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
|
||||
|
||||
INCS= libprocstat.h
|
||||
CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE
|
||||
SHLIB_MAJOR= 1
|
||||
|
16
lib/libprocstat/Symbol.map
Normal file
16
lib/libprocstat/Symbol.map
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
FBSD_1.2 {
|
||||
procstat_close;
|
||||
procstat_freefiles;
|
||||
procstat_freeprocs;
|
||||
procstat_get_pipe_info;
|
||||
procstat_get_pts_info;
|
||||
procstat_get_socket_info;
|
||||
procstat_get_vnode_info;
|
||||
procstat_getfiles;
|
||||
procstat_getprocs;
|
||||
procstat_open_kvm;
|
||||
procstat_open_sysctl;
|
||||
};
|
5
lib/libprocstat/Versions.def
Normal file
5
lib/libprocstat/Versions.def
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# This version was first added to 9.0-current.
|
||||
FBSD_1.2 {
|
||||
};
|
Loading…
Reference in New Issue
Block a user