summaryrefslogtreecommitdiff
path: root/common/config-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/config-parser.h')
-rw-r--r--common/config-parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-parser.h b/common/config-parser.h
index 94d96c9..174bac2 100644
--- a/common/config-parser.h
+++ b/common/config-parser.h
@@ -41,7 +41,7 @@
/* Callbacks must be defined by the caller */
extern int cfg_value(const char* filename, const char* header, const char* name,
char* value, void* data);
-extern int cfg_errcallback(const char* filename, const char* errmsg, void* data);
+extern int cfg_error(const char* filename, const char* errmsg, void* data);
/* Calling these will call the callbacks above */
int cfg_parse_dir(const char* dirname, void* data);