summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udevadm-util.h')
-rw-r--r--src/udev/udevadm-util.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/udev/udevadm-util.h b/src/udev/udevadm-util.h
index 0b426e09f6..59e89022a0 100644
--- a/src/udev/udevadm-util.h
+++ b/src/udev/udevadm-util.h
@@ -1,15 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0+ */
#pragma once
-/*
- */
+#include "sd-device.h"
-#include "udev.h"
-
-struct udev_device *find_device(struct udev *udev,
- const char *id,
- const char *prefix);
-
-static inline void print_version(void) {
- printf("%s\n", PACKAGE_VERSION);
-}
+int find_device(const char *id, const char *prefix, sd_device **ret);