aboutsummaryrefslogtreecommitdiff
path: root/read_config_file.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-11-23 22:30:06 +0100
committerPetr Machata <pmachata@redhat.com>2013-03-08 22:55:26 +0100
commite6c00ae8228be812c7361b5e193779a81aa00cd8 (patch)
tree9392d3b7d48d458746476c7f3f13f0aa69e2dcdd /read_config_file.h
parent9117dab63337a8cb91741b5f170e8f2dab1e89b8 (diff)
downloadltrace-e6c00ae8228be812c7361b5e193779a81aa00cd8.tar.gz
In read_config_file, pass around locus instead of using globals
Diffstat (limited to 'read_config_file.h')
-rw-r--r--read_config_file.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/read_config_file.h b/read_config_file.h
index e3cf5cc..a572d9e 100644
--- a/read_config_file.h
+++ b/read_config_file.h
@@ -18,7 +18,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
+#ifndef _READ_CONFIG_FILE_H_
+#define _READ_CONFIG_FILE_H_
+
+#include "forward.h"
+
+int read_config_file(struct protolib *plib, const char *path);
-void read_config_file(char *);
void init_global_config(void);
void destroy_global_config(void);
+
+#endif /* _READ_CONFIG_FILE_H_ */