summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/libvolume_id/logging.h')
-rw-r--r--extras/volume_id/libvolume_id/logging.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/extras/volume_id/libvolume_id/logging.h b/extras/volume_id/libvolume_id/logging.h
new file mode 100644
index 0000000000..4a8aa50d4c
--- /dev/null
+++ b/extras/volume_id/libvolume_id/logging.h
@@ -0,0 +1,24 @@
+/*
+ * volume_id_logging - this file is used to map the dbg() function
+ * to the user's logging facility
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2 of the License.
+ */
+
+#ifndef _VOLUME_ID_LOGGING_H_
+#define _VOLUME_ID_LOGGING_H_
+
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+/* just use the udev version */
+#include "../../../logging.h"
+
+#endif /* _VOLUME_ID_LOGGING_H_ */