Move --with-driver-modules symbols into a separate sym file

* src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
* src/libvirt_private.syms: Move virDriverLoadModule into...
* src/libvirt_driver_modules.syms: ... this new file.
Author: John Levon
This commit is contained in:
Jim Meyering 2009-01-05 14:06:41 +00:00
parent ad17ffa034
commit ea5775bf8e
4 changed files with 16 additions and 4 deletions

View File

@ -16,6 +16,11 @@ Mon Jan 5 2009 14:53:48 CET John Levon <john.levon@sun.com>
* src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
* src/libvirt_debug.syms: New file.
* src/libvirt_private.syms: New file.
Move --with-driver-modules symbols into a separate sym file
* src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
* src/libvirt_private.syms: Move virDriverLoadModule into...
* src/libvirt_driver_modules.syms: ... this new file.
Author: John Levon
Mon Jan 5 14:22:06 CET 2009 Jim Meyering <meyering@redhat.com>

View File

@ -415,6 +415,10 @@ if ENABLE_DEBUG
PRIVSYMFILES += libvirt_debug.syms
endif
if WITH_DRIVER_MODULES
PRIVSYMFILES += libvirt_driver_modules.syms
endif
EXTRA_DIST += libvirt_public.syms $(PRIVSYMFILES)
libvirt.syms: libvirt_public.syms $(PRIVSYMFILES)

View File

@ -0,0 +1,7 @@
#
# These symbols are dependent upon --with-driver-modules.
#
# driver.h
virDriverLoadModule;

View File

@ -131,10 +131,6 @@ virDomainEventDispatch;
virDomainEventQueueDispatch;
# driver.h
virDriverLoadModule;
# event.h
virEventAddHandle;
virEventAddTimeout;