summaryrefslogtreecommitdiff
path: root/src/bootchart/svg.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/bootchart/svg.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/bootchart/svg.c')
-rw-r--r--src/bootchart/svg.c6
1 files changed, 3 insertions, 3 deletions
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<!-- PSS map - csv format -->\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;