chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
conf-parser: restrict .include usage
[elogind.git]
/
src
/
bootchart
/
svg.c
diff --git
a/src/bootchart/svg.c
b/src/bootchart/svg.c
index 3472bc0ae88548a4587a2618f6b7075fd18cbbc4..1e87fb57391af96aecea39d364506c19f5c8bd1a 100644
(file)
--- 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) {
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;
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) {
}
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;
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))) {
/* 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;
double starttime;
int t;