From e36efb05b180be07ecd1be9226deb48f93d5f957 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 20 Apr 2015 21:10:49 +0200 Subject: [PATCH] Remove unused and invalid udev definitions These definitions were not valid when compiling against eudev. --- src/shared/udev-util.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h index 5a3b9cfc1..a729bceaa 100644 --- a/src/shared/udev-util.h +++ b/src/shared/udev-util.h @@ -27,14 +27,10 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev*, udev_unref); DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_device*, udev_device_unref); DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_enumerate*, udev_enumerate_unref); -DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_ctrl_connection*, udev_ctrl_connection_unref); -DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_ctrl_msg*, udev_ctrl_msg_unref); DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev_monitor*, udev_monitor_unref); #define _cleanup_udev_unref_ _cleanup_(udev_unrefp) #define _cleanup_udev_device_unref_ _cleanup_(udev_device_unrefp) #define _cleanup_udev_enumerate_unref_ _cleanup_(udev_enumerate_unrefp) -#define _cleanup_udev_ctrl_connection_unref_ _cleanup_(udev_ctrl_connection_unrefp) -#define _cleanup_udev_ctrl_msg_unref_ _cleanup_(udev_ctrl_msg_unrefp) #define _cleanup_udev_monitor_unref_ _cleanup_(udev_monitor_unrefp) #define _cleanup_udev_list_cleanup_ _cleanup_(udev_list_cleanup) -- 2.30.2