summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/rtnl-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-13 03:44:14 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-13 03:44:14 +0100
commitcf6a8911738fe2635a5210769d5348b05b166691 (patch)
tree70bc1a013682c2a27187043de405bbdb977bb8f5 /src/libsystemd/sd-rtnl/rtnl-internal.h
parentaa28aefe61c5406c5cb631f3e82457b6d1bcc967 (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/libsystemd/sd-rtnl/rtnl-internal.h')
-rw-r--r--src/libsystemd/sd-rtnl/rtnl-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-internal.h b/src/libsystemd/sd-rtnl/rtnl-internal.h
index 4bfcb836d6..28c7b963fb 100644
--- a/src/libsystemd/sd-rtnl/rtnl-internal.h
+++ b/src/libsystemd/sd-rtnl/rtnl-internal.h
@@ -103,4 +103,4 @@ int socket_read_message(sd_rtnl *nl, sd_rtnl_message **ret);
/* Make sure callbacks don't destroy the rtnl connection */
#define RTNL_DONT_DESTROY(rtnl) \
- _cleanup_sd_rtnl_unref_ _unused_ sd_rtnl *_dont_destroy_##rtnl = sd_rtnl_ref(rtnl)
+ _cleanup_rtnl_unref_ _unused_ sd_rtnl *_dont_destroy_##rtnl = sd_rtnl_ref(rtnl)