summaryrefslogtreecommitdiff
path: root/src/udev/libudev-private.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-04-04 13:30:09 +0200
committerKay Sievers <kay.sievers@vrfy.org>2012-04-04 13:30:09 +0200
commit54cf0b7fa67702bb3236851f0096910b3759f1b0 (patch)
tree565c30e12d13d47f2d59f6c7d14a1a127b37d5f7 /src/udev/libudev-private.h
parent51fc11c10d7f7f24cf795d751a99d37aadf4da72 (diff)
udev: replace UDEV_EXPORT with _public_
Diffstat (limited to 'src/udev/libudev-private.h')
-rw-r--r--src/udev/libudev-private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/libudev-private.h b/src/udev/libudev-private.h
index 001c578540..df11e3743c 100644
--- a/src/udev/libudev-private.h
+++ b/src/udev/libudev-private.h
@@ -16,6 +16,7 @@
#include <signal.h>
#include <stdint.h>
#include <stdbool.h>
+#include "macro.h"
#include "libudev.h"
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
@@ -39,8 +40,6 @@ udev_log_null(struct udev *udev, const char *format, ...) {}
#define info(udev, arg...) udev_log_cond(udev, LOG_INFO, ## arg)
#define err(udev, arg...) udev_log_cond(udev, LOG_ERR, ## arg)
-#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);