migrate linux-specific symbol names into their own sym file

* configure.in (WITH_LINUX): New automake conditional.
* src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
* src/libvirt_private.syms: Move two symbol names into...
* src/libvirt_linux.syms: ...this new file.
Author: John Levon
This commit is contained in:
Jim Meyering 2009-01-05 14:08:26 +00:00
parent 83dfc25c02
commit b0119de82f
5 changed files with 20 additions and 5 deletions

View File

@ -29,6 +29,12 @@ Mon Jan 5 2009 14:53:48 CET John Levon <john.levon@sun.com>
* src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
* src/libvirt_private.syms: Move bridge-related symbols into...
* src/libvirt_bridge.syms: ...this new file.
migrate linux-specific symbol names into their own sym file
* configure.in (WITH_LINUX): New automake conditional.
* src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
* src/libvirt_private.syms: Move two symbol names into...
* src/libvirt_linux.syms: ...this new file.
Author: John Levon
Mon Jan 5 14:22:06 CET 2009 Jim Meyering <meyering@redhat.com>

View File

@ -1248,6 +1248,8 @@ then
fi
AM_CONDITIONAL([WITH_NODE_DEVICES], [test "$with_nodedev" = "yes"])
AM_CONDITIONAL([WITH_LINUX], [test `uname -s` = "Linux"])
# Only COPYING.LIB is under version control, yet COPYING
# is included as part of the distribution tarball.
# Copy one to the other, but only if this is a srcdir-build.

View File

@ -423,6 +423,10 @@ if WITH_BRIDGE
PRIVSYMFILES += libvirt_bridge.syms
endif
if WITH_LINUX
PRIVSYMFILES += libvirt_linux.syms
endif
EXTRA_DIST += libvirt_public.syms $(PRIVSYMFILES)
libvirt.syms: libvirt_public.syms $(PRIVSYMFILES)

8
src/libvirt_linux.syms Normal file
View File

@ -0,0 +1,8 @@
#
# Linux-specific private symbols.
#
# stats_linux.h
linuxDomainInterfaceStats;
xenLinuxDomainBlockStats;

View File

@ -231,11 +231,6 @@ qparam_query_parse;
free_qparam_set;
# stats_linux.h
linuxDomainInterfaceStats;
xenLinuxDomainBlockStats;
# storage_backend.h
virStorageBackendForType;
virStorageBackendRunProgNul;