aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2011-05-14 22:15:38 +0000
committerStanislav Sedov <stas@FreeBSD.org>2011-05-14 22:15:38 +0000
commit2f7e4c22b91c0e660d4a1911c4367388f7d63016 (patch)
tree792f72e9bac42a2a163598bb79303b39b2e5cf2d
parent087a4650e2f4affdf81f1a74c1d5a171283b925e (diff)
downloadsrc-2f7e4c22b91c0e660d4a1911c4367388f7d63016.tar.gz
src-2f7e4c22b91c0e660d4a1911c4367388f7d63016.zip
Notes
-rw-r--r--lib/libprocstat/Makefile3
-rw-r--r--lib/libprocstat/Symbol.map16
-rw-r--r--lib/libprocstat/Versions.def5
3 files changed, 24 insertions, 0 deletions
diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile
index e289ef51dbbe..e5091694e86c 100644
--- a/lib/libprocstat/Makefile
+++ b/lib/libprocstat/Makefile
@@ -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
diff --git a/lib/libprocstat/Symbol.map b/lib/libprocstat/Symbol.map
new file mode 100644
index 000000000000..b5d64d0ff78e
--- /dev/null
+++ b/lib/libprocstat/Symbol.map
@@ -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;
+};
diff --git a/lib/libprocstat/Versions.def b/lib/libprocstat/Versions.def
new file mode 100644
index 000000000000..d69f5c996f75
--- /dev/null
+++ b/lib/libprocstat/Versions.def
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+# This version was first added to 9.0-current.
+FBSD_1.2 {
+};