From cf6a8911738fe2635a5210769d5348b05b166691 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 13 Feb 2014 03:44:14 +0100 Subject: rtnl: drop "sd_" prefix from cleanup macros The "sd_" prefix is supposed to be used on exported symbols only, and not in the middle of names. Let's drop it from the cleanup macros hence, to make things simpler. The bus cleanup macros don't carry the "sd_" either, so this brings the APIs a bit nearer. --- src/udev/udev-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/udev') diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index 228232bf79..c8e216c341 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -748,7 +748,7 @@ out: static int rename_netif(struct udev_event *event) { struct udev_device *dev = event->dev; - _cleanup_sd_rtnl_unref_ sd_rtnl *rtnl = NULL; + _cleanup_rtnl_unref_ sd_rtnl *rtnl = NULL; char name[IFNAMSIZ]; const char *oldname; int r; -- cgit v1.2.3-54-g00ecf