aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/error.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-16 20:56:51 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-16 20:56:51 +0200
commit0c7753ef37f875b288fc8c5d1c6a64fa61f4d149 (patch)
tree9f9b5d517f8bbba1b4f9eae3dc521cc7826692e0 /src/common/error.h
parent1c8174674d522a2c55b4f143f7e0dac848e34281 (diff)
downloadblogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.tar.gz
blogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.tar.bz2
blogc-0c7753ef37f875b288fc8c5d1c6a64fa61f4d149.zip
error: added prefix support to bc_error_print
Diffstat (limited to 'src/common/error.h')
-rw-r--r--src/common/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/error.h b/src/common/error.h
index d65a3e7..5ac2b15 100644
--- a/src/common/error.h
+++ b/src/common/error.h
@@ -34,7 +34,7 @@ bc_error_t* bc_error_new(bc_error_type_t type, const char *msg);
bc_error_t* bc_error_new_printf(bc_error_type_t type, const char *format, ...);
bc_error_t* bc_error_parser(bc_error_type_t type, const char *src,
size_t src_len, size_t current, const char *format, ...);
-void bc_error_print(bc_error_t *err);
+void bc_error_print(bc_error_t *err, const char *prefix);
void bc_error_free(bc_error_t *err);
#endif /* _ERROR_H */