diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-20 14:41:10 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-20 14:41:10 +0200 |
commit | 666fcf03bceea8e8dd6c4510220036d1b949b814 (patch) | |
tree | 7815a318981dbd99bed5be2aa42044b0d67db629 /libudev/libudev-private.h | |
parent | e5fd444fee244a3a15fc4ab59f662a341e985565 (diff) |
libudev: export symbols explicitely and individually from C code not from separate file or prefix match
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r-- | libudev/libudev-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h index 39b46dde31..9703fb5875 100644 --- a/libudev/libudev-private.h +++ b/libudev/libudev-private.h @@ -45,6 +45,8 @@ udev_log_null(struct udev *udev, const char *format, ...) {} # define err(udev, arg...) udev_log_null(udev, ## arg) #endif +#define UDEV_EXPORT __attribute__ ((visibility("default"))) + static inline void udev_log_init(const char *program_name) { openlog(program_name, LOG_PID | LOG_CONS, LOG_DAEMON); |