Date: Sat, 14 May 2011 22:15:38 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r221931 - head/lib/libprocstat Message-ID: <201105142215.p4EMFc0q017874@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stas Date: Sat May 14 22:15:38 2011 New Revision: 221931 URL: http://svn.freebsd.org/changeset/base/221931 Log: - Add symbol versioning to libprocstat. Suggested by: kib Added: head/lib/libprocstat/Symbol.map (contents, props changed) head/lib/libprocstat/Versions.def (contents, props changed) Modified: head/lib/libprocstat/Makefile Modified: head/lib/libprocstat/Makefile ============================================================================== --- head/lib/libprocstat/Makefile Sat May 14 21:44:12 2011 (r221930) +++ head/lib/libprocstat/Makefile Sat May 14 22:15:38 2011 (r221931) @@ -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 Added: head/lib/libprocstat/Symbol.map ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libprocstat/Symbol.map Sat May 14 22:15:38 2011 (r221931) @@ -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; +}; Added: head/lib/libprocstat/Versions.def ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libprocstat/Versions.def Sat May 14 22:15:38 2011 (r221931) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +# This version was first added to 9.0-current. +FBSD_1.2 { +};
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105142215.p4EMFc0q017874>