summaryrefslogtreecommitdiff
path: root/libudev/libudev-list.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-05-20 14:41:10 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-05-20 14:41:10 +0200
commit666fcf03bceea8e8dd6c4510220036d1b949b814 (patch)
tree7815a318981dbd99bed5be2aa42044b0d67db629 /libudev/libudev-list.c
parente5fd444fee244a3a15fc4ab59f662a341e985565 (diff)
libudev: export symbols explicitely and individually from C code not from separate file or prefix match
Diffstat (limited to 'libudev/libudev-list.c')
-rw-r--r--libudev/libudev-list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libudev/libudev-list.c b/libudev/libudev-list.c
index 29453ac251..e828a4e4c6 100644
--- a/libudev/libudev-list.c
+++ b/libudev/libudev-list.c
@@ -204,7 +204,7 @@ struct udev_list_entry *udev_list_get_entry(struct udev_list_node *list)
*
* Returns: the next entry from the list, #NULL is no more entries are found.
*/
-struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry)
+UDEV_EXPORT struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry)
{
struct udev_list_node *next;
@@ -224,7 +224,7 @@ struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_en
*
* Returns: the entry where @name matched, #NULL if no matching entry is found.
*/
-struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list_entry, const char *name)
+UDEV_EXPORT struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list_entry, const char *name)
{
struct udev_list_entry *entry;
@@ -243,7 +243,7 @@ struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list
*
* Returns: the name string of this entry.
*/
-const char *udev_list_entry_get_name(struct udev_list_entry *list_entry)
+UDEV_EXPORT const char *udev_list_entry_get_name(struct udev_list_entry *list_entry)
{
if (list_entry == NULL)
return NULL;
@@ -256,7 +256,7 @@ const char *udev_list_entry_get_name(struct udev_list_entry *list_entry)
*
* Returns: the value string of this entry.
*/
-const char *udev_list_entry_get_value(struct udev_list_entry *list_entry)
+UDEV_EXPORT const char *udev_list_entry_get_value(struct udev_list_entry *list_entry)
{
if (list_entry == NULL)
return NULL;