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/bootchart/svg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bootchart/svg.c') diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index 3472bc0ae8..1e87fb5739 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -389,7 +389,7 @@ static void svg_pss_graph(void) { svg("\n\n\n"); ps = ps_first; while (ps->next_ps) { - char _cleanup_free_ *enc_name = NULL; + _cleanup_free_ char *enc_name = NULL; ps = ps->next_ps; if (!ps) continue; @@ -711,7 +711,7 @@ static int ps_filter(struct ps_struct *ps) { } static void svg_do_initcall(int count_only) { - FILE _cleanup_pclose_ *f = NULL; + _cleanup_pclose_ FILE *f = NULL; double t; char func[256]; int ret; @@ -815,7 +815,7 @@ static void svg_ps_bars(void) { /* pass 2 - ps boxes */ ps = ps_first; while ((ps = get_next_ps(ps))) { - char _cleanup_free_ *enc_name = NULL; + _cleanup_free_ char *enc_name = NULL; double starttime; int t; -- cgit v1.2.3-54-g00ecf