summaryrefslogtreecommitdiff
path: root/src/login/logind-user-dbus.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-04-18 09:11:22 +0200
committerHarald Hoyer <harald@redhat.com>2013-04-18 09:11:22 +0200
commit7fd1b19bc9e9f5574f2877936b8ac267c7706947 (patch)
treecac68de0832e4a61944e88390b649341519c43b2 /src/login/logind-user-dbus.c
parentd70964d0f61f1add3a71c83beb925fc1fa2fab6b (diff)
move _cleanup_ attribute in front of the type
http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html
Diffstat (limited to 'src/login/logind-user-dbus.c')
-rw-r--r--src/login/logind-user-dbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-user-dbus.c b/src/login/logind-user-dbus.c
index 8cc1dd49fd..3ec3ff8e61 100644
--- a/src/login/logind-user-dbus.c
+++ b/src/login/logind-user-dbus.c
@@ -65,7 +65,7 @@ static int bus_user_append_display(DBusMessageIter *i, const char *property, voi
DBusMessageIter sub;
User *u = data;
const char *id, *path;
- char _cleanup_free_ *p = NULL;
+ _cleanup_free_ char *p = NULL;
assert(i);
assert(property);
@@ -187,7 +187,7 @@ static int bus_user_append_idle_hint_since(DBusMessageIter *i, const char *prope
static int bus_user_append_default_cgroup(DBusMessageIter *i, const char *property, void *data) {
User *u = data;
- char _cleanup_free_ *t = NULL;
+ _cleanup_free_ char *t = NULL;
int r;
bool success;