From f91781329c6d8a760e3c1b88b66b0e2137c2e5ab Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 2 Apr 2015 14:15:33 +0200 Subject: 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. --- src/bootchart/bootchart.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/bootchart/bootchart.h') 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; -- cgit v1.2.3-54-g00ecf