From 7fd1b19bc9e9f5574f2877936b8ac267c7706947 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 18 Apr 2013 09:11:22 +0200 Subject: move _cleanup_ attribute in front of the type http://lists.freedesktop.org/archives/systemd-devel/2013-April/010510.html --- src/cgls/cgls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cgls') diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index e01a7b13a1..8ddd733dfd 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -157,7 +157,7 @@ int main(int argc, char *argv[]) { } } else { - char _cleanup_free_ *p; + _cleanup_free_ char *p; p = get_current_dir_name(); if (!p) { @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) { r = show_cgroup_by_path(p, NULL, 0, arg_kernel_threads, output_flags); } else { - char _cleanup_free_ *root = NULL; + _cleanup_free_ char *root = NULL; r = cg_get_root_path(&root); if (r < 0) { -- cgit v1.2.3