chiark / gitweb /
bootchart: clean up sysfd and proc handling
[elogind.git] / src / bootchart / store.h
index 7c8ad284da4a33ddae41e43e0045c62e8c2f66ae..bc54f4f63186c7efd574f7910b4deab55c554140 100644 (file)
@@ -5,7 +5,7 @@
 /***
   This file is part of systemd.
 
-  Copyright (C) 2009-2013 Intel Coproration
+  Copyright (C) 2009-2013 Intel Corporation
 
   Authors:
     Auke Kok <auke-jan.h.kok@intel.com>
@@ -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);