From 634a5029931d3a68a44cf6de9c87fd8d547fe7a7 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 9 Sep 2016 01:15:40 +0200 Subject: common: fix function prototypes --- src/common/error.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common/error.h') diff --git a/src/common/error.h b/src/common/error.h index f2845df..200f9a7 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -27,10 +27,10 @@ typedef struct { bc_error_type_t type; } bc_error_t; -bc_error_t* bc_error_new(int type, const char *msg); -bc_error_t* bc_error_new_printf(int type, const char *format, ...); -bc_error_t* bc_error_parser(int type, const char *src, size_t src_len, - size_t current, const char *format, ...); +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_free(bc_error_t *err); -- cgit v1.2.3-18-g5258