chiark / gitweb /
bootchart: clean up sysfd and proc handling
[elogind.git] / src / bootchart / store.h
index f211b6f53b512782000389b6488356d3effc97d7..bc54f4f63186c7efd574f7910b4deab55c554140 100644 (file)
@@ -27,9 +27,6 @@
 #include <dirent.h>
 #include "bootchart.h"
 
-extern DIR *proc;
-extern int procfd;
-
 double gettime_ns(void);
 void log_uptime(void);
-void log_sample(int sample, struct list_sample_data **ptr);
+int log_sample(DIR *proc, int sample, struct list_sample_data **ptr);