[PATCH kmod 3/3] libkmod: move new weak API to separate section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Emil Velikov <emil.l.velikov@xxxxxxxxx>

Add the new weak API, to a separate section in the version script. These
will be exposed with the upcoming v33 release and not with v5 as the
symbol tag implies.

Cc: Jose Ignacio Tornos Martinez <jtornosm@xxxxxxxxxx>
Fixes: 05828b4 ("libkmod: add weak dependecies")
Signed-off-by: Emil Velikov <emil.l.velikov@xxxxxxxxx>
---
This might be a bit of nuisance for Debian which has a git packages in
unstable.

@Marco I think you'd _really_ want this for unstable.
---
 libkmod/libkmod.sym | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/libkmod/libkmod.sym b/libkmod/libkmod.sym
index e71f488..0046300 100644
--- a/libkmod/libkmod.sym
+++ b/libkmod/libkmod.sym
@@ -21,7 +21,6 @@ global:
 	kmod_config_get_aliases;
 	kmod_config_get_options;
 	kmod_config_get_softdeps;
-	kmod_config_get_weakdeps;
 	kmod_config_iter_get_key;
 	kmod_config_iter_get_value;
 	kmod_config_iter_next;
@@ -42,7 +41,6 @@ global:
 
 	kmod_module_get_dependencies;
 	kmod_module_get_softdeps;
-	kmod_module_get_weakdeps;
 	kmod_module_get_filtered_blacklist;
 
 	kmod_module_get_name;
@@ -98,3 +96,9 @@ LIBKMOD_30 {
 global:
 	kmod_module_new_from_name_lookup;
 } LIBKMOD_22;
+
+LIBKMOD_33 {
+global:
+	kmod_config_get_weakdeps;
+	kmod_module_get_weakdeps;
+} LIBKMOD_30;

-- 
2.45.2






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux