summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-hwdb/hwdb-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd/sd-hwdb/hwdb-util.h')
-rw-r--r--src/libsystemd/sd-hwdb/hwdb-util.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libsystemd/sd-hwdb/hwdb-util.h b/src/libsystemd/sd-hwdb/hwdb-util.h
index ee020a2942..5e21e5008b 100644
--- a/src/libsystemd/sd-hwdb/hwdb-util.h
+++ b/src/libsystemd/sd-hwdb/hwdb-util.h
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
@@ -21,11 +19,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "util.h"
-
#include "sd-hwdb.h"
-DEFINE_TRIVIAL_CLEANUP_FUNC(sd_hwdb*, sd_hwdb_unref);
-#define _cleanup_hwdb_unref_ _cleanup_(sd_hwdb_unrefp)
+#include "util.h"
bool hwdb_validate(sd_hwdb *hwdb);