[libvirt] [PATCH] Remove non-existent symbols from the version script

john.levon at sun.com john.levon at sun.com
Mon Dec 15 19:59:56 UTC 2008


# HG changeset patch
# User john.levon at sun.com
# Date 1229369745 28800
# Node ID d3e5c2e138bd794ab711cc2548c45112ba603ea2
# Parent  56d77e29bf90057791feebfa47506fc0933cd690
Remove non-existent symbols from the version script

The Solaris linker rightfully complains if a non-existent symbol is
referenced. Since these symbols don't exist in the current source, they
can have no purpose in a version script, so remove them.

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/src/libvirt_sym.version.in b/src/libvirt_sym.version.in
--- a/src/libvirt_sym.version.in
+++ b/src/libvirt_sym.version.in
@@ -62,7 +62,6 @@ LIBVIRT_0.1.0 {
 	virCopyLastError;
 	virConnSetErrorFunc;
 	virResetLastError;
-	virErrorFunc;
 	virResetError;
 	virConnGetLastError;
 	virGetLastError;
@@ -199,8 +198,6 @@ LIBVIRT_0.4.1 {
 	virStoragePoolNumOfVolumes;
 	virStoragePoolListVolumes;
 
-	virConnectNumOfStorageVolumes;
-	virConnectListStorageVolumes;
 	virStorageVolGetConnect;
 	virStorageVolLookupByName;
 	virStorageVolLookupByKey;
@@ -235,13 +232,9 @@ LIBVIRT_0.5.0 {
 
 	virNodeNumOfDevices;
 	virNodeListDevices;
-	virNodeNumOfDevicesByCap;
-	virNodeListDevicesByCap;
 	virNodeDeviceLookupByName;
 	virNodeDeviceFree;
 	virNodeDeviceGetXMLDesc;
-	virNodeDeviceCreate;
-	virNodeDeviceDestroy;
 	virNodeDeviceGetName;
 	virNodeDeviceGetParent;
 	virNodeDeviceNumOfCaps;
@@ -441,7 +434,6 @@ LIBVIRT_PRIVATE_ at VERSION@ {
 	virStateCleanup;
 	virStateReload;
 	virStateActive;
-	virStateSigDispatcher;
 	virDrvSupportsFeature;
 	virDomainMigratePrepare;
 	virDomainMigratePerform;
@@ -506,10 +498,6 @@ LIBVIRT_PRIVATE_ at VERSION@ {
 
 	# storage_backend.h
 	virStorageBackendForType;
-	virStorageBackendFromString;
-	virStorageBackendPartTableTypeFromString;
-	virStorageBackendPartTableTypeToString;
-	virStorageBackendRegister;
 	virStorageBackendRunProgNul;
 	virStorageBackendRunProgRegex;
 	virStorageBackendStablePath;
@@ -518,7 +506,6 @@ LIBVIRT_PRIVATE_ at VERSION@ {
 
 
 	# storage_conf.h
-        virStorageBackendPoolOptionsForType;
 	virStoragePoolDefFormat;
 	virStoragePoolDefFree;
 	virStoragePoolDefParse;




More information about the libvir-list mailing list