mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-02 13:30:30 +00:00
Only export from libsensors symbols which are actually public (i.e.
listed in the public header files and documented in the manual page.) Patch from Cristian Rodriguez <crrodriguez@opensuse.org>. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5939 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
eaf86b0c49
commit
cae654385e
3 files changed
+25
-1
No files matched your search
@@ -8,6 +8,7 @@ SVN HEAD
|
||||
Compute MAX_*_SENSOR_TYPES at build time (#2378)
|
||||
Add support for new sysfs attributes
|
||||
Add support for humidity sensors
|
||||
Limit symbol visibility
|
||||
sensors.conf.default: Add a section for the W83627THF
|
||||
Add a section for the SCH5127
|
||||
Add a section for the W83627UHG
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ LIBHEADERFILES := $(MODULE_DIR)/error.h $(MODULE_DIR)/sensors.h
|
||||
|
||||
# How to create the shared library
|
||||
$(MODULE_DIR)/$(LIBSHLIBNAME): $(LIBSHOBJECTS)
|
||||
$(CC) -shared $(LDFLAGS) -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm
|
||||
$(CC) -shared $(LDFLAGS) -Wl,--version-script=$(LIB_DIR)/libsensors.map -Wl,-soname,$(LIBSHSONAME) -o $@ $^ -lc -lm
|
||||
|
||||
$(MODULE_DIR)/$(LIBSHSONAME): $(MODULE_DIR)/$(LIBSHLIBNAME)
|
||||
$(RM) $@
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
global:
|
||||
libsensors_version;
|
||||
sensors_cleanup;
|
||||
sensors_do_chip_sets;
|
||||
sensors_free_chip_name;
|
||||
sensors_get_adapter_name;
|
||||
sensors_get_all_subfeatures;
|
||||
sensors_get_detected_chips;
|
||||
sensors_get_features;
|
||||
sensors_get_label;
|
||||
sensors_get_subfeature;
|
||||
sensors_get_value;
|
||||
sensors_init;
|
||||
sensors_parse_chip_name;
|
||||
sensors_set_value;
|
||||
sensors_snprintf_chip_name;
|
||||
sensors_strerror;
|
||||
sensors_parse_error;
|
||||
sensors_parse_error_wfn;
|
||||
sensors_fatal_error;
|
||||
local: *;
|
||||
};
|
||||
Reference in new issue
Block a user