diff options
author | Kay Sievers <kay@vrfy.org> | 2014-06-21 15:53:58 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2014-06-21 16:25:15 +0200 |
commit | 706b7936d0492c2ce5cafd7f57510e4c51e7c771 (patch) | |
tree | c496d07dc1614970f7433acfe5e9bcde39bf3cd5 | |
parent | e09c69d9fdb2d3aa957fd7b43d9c27615b56d5ae (diff) |
gudev: replace regex with sym file
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | src/gudev/libgudev-1.0.sym | 68 |
2 files changed, 72 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 68c53b785f..3bf7cff8b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3164,6 +3164,7 @@ CLEANFILES += \ src/gudev/gudev-1.0.pc libgudev_1_0_la_SOURCES = \ + src/gudev/libgudev-1.0.sym \ src/gudev/gudevenums.h \ src/gudev/gudevenumtypes.h \ src/gudev/gudevenumtypes.h\ @@ -3207,8 +3208,9 @@ libgudev_1_0_la_LIBADD = \ libgudev_1_0_la_LDFLAGS = \ $(AM_LDFLAGS) \ -version-info $(LIBGUDEV_CURRENT):$(LIBGUDEV_REVISION):$(LIBGUDEV_AGE) \ - -export-dynamic -no-undefined \ - -export-symbols-regex '^g_udev_.*' + -export-dynamic \ + -no-undefined \ + -Wl,--version-script=$(top_srcdir)/src/gudev/libgudev-1.0.sym src/gudev/gudevmarshal.h: src/gudev/gudevmarshal.list $(AM_V_at)$(MKDIR_P) $(dir $@) diff --git a/src/gudev/libgudev-1.0.sym b/src/gudev/libgudev-1.0.sym new file mode 100644 index 0000000000..0600486e9c --- /dev/null +++ b/src/gudev/libgudev-1.0.sym @@ -0,0 +1,68 @@ +/*** + This file is part of systemd. + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. +***/ + +{ +global: + g_udev_client_get_type; + g_udev_client_new; + g_udev_client_query_by_device_file; + g_udev_client_query_by_device_number; + g_udev_client_query_by_subsystem; + g_udev_client_query_by_subsystem_and_name; + g_udev_client_query_by_sysfs_path; + g_udev_device_get_action; + g_udev_device_get_device_file; + g_udev_device_get_device_file_symlinks; + g_udev_device_get_device_number; + g_udev_device_get_device_type; + g_udev_device_get_devtype; + g_udev_device_get_driver; + g_udev_device_get_is_initialized; + g_udev_device_get_name; + g_udev_device_get_number; + g_udev_device_get_parent; + g_udev_device_get_parent_with_subsystem; + g_udev_device_get_property; + g_udev_device_get_property_as_boolean; + g_udev_device_get_property_as_double; + g_udev_device_get_property_as_int; + g_udev_device_get_property_as_strv; + g_udev_device_get_property_as_uint64; + g_udev_device_get_property_keys; + g_udev_device_get_seqnum; + g_udev_device_get_subsystem; + g_udev_device_get_sysfs_attr; + g_udev_device_get_sysfs_attr_as_boolean; + g_udev_device_get_sysfs_attr_as_double; + g_udev_device_get_sysfs_attr_as_int; + g_udev_device_get_sysfs_attr_as_strv; + g_udev_device_get_sysfs_attr_as_uint64; + g_udev_device_get_sysfs_attr_keys; + g_udev_device_get_sysfs_path; + g_udev_device_get_tags; + g_udev_device_get_type; + g_udev_device_get_usec_since_initialized; + g_udev_device_has_property; + g_udev_device_has_sysfs_attr; + g_udev_device_type_get_type; + g_udev_enumerator_add_match_is_initialized; + g_udev_enumerator_add_match_name; + g_udev_enumerator_add_match_property; + g_udev_enumerator_add_match_subsystem; + g_udev_enumerator_add_match_sysfs_attr; + g_udev_enumerator_add_match_tag; + g_udev_enumerator_add_nomatch_subsystem; + g_udev_enumerator_add_nomatch_sysfs_attr; + g_udev_enumerator_add_sysfs_path; + g_udev_enumerator_execute; + g_udev_enumerator_get_type; + g_udev_enumerator_new; +local: + *; +}; |