diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-13 03:44:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-13 03:44:14 +0100 |
commit | cf6a8911738fe2635a5210769d5348b05b166691 (patch) | |
tree | 70bc1a013682c2a27187043de405bbdb977bb8f5 /src/udev | |
parent | aa28aefe61c5406c5cb631f3e82457b6d1bcc967 (diff) |
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.
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udev-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |