summaryrefslogtreecommitdiff
path: root/src/bootchart/bootchart.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-04-02 14:15:33 +0200
committerDaniel Mack <daniel@zonque.org>2015-04-03 15:29:18 +0200
commitf91781329c6d8a760e3c1b88b66b0e2137c2e5ab (patch)
tree94a417ee58753ea5a92116d0a74ec0a3a044e825 /src/bootchart/bootchart.h
parent34a4071e998f327945993ea6e6cbcaa0292b4093 (diff)
bootchart: clean up sysfd and proc handling
Retrieve the handle to procfs in main(), and pass it functions that need it. Kill the global variables. Also, refactor lots of code in svg_title(). There's no need to access any global variables from there either, and we really should return proper errors from there as well.
Diffstat (limited to 'src/bootchart/bootchart.h')
-rw-r--r--src/bootchart/bootchart.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bootchart/bootchart.h b/src/bootchart/bootchart.h
index e4dbdd921d..6e83a99a2b 100644
--- a/src/bootchart/bootchart.h
+++ b/src/bootchart/bootchart.h
@@ -132,4 +132,3 @@ extern char arg_output_path[PATH_MAX];
extern char arg_init_path[PATH_MAX];
extern FILE *of;
-extern int sysfd;