summaryrefslogtreecommitdiff
path: root/src/udev/libudev-private.h
diff options
context:
space:
mode:
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);