From 41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd Mon Sep 17 00:00:00 2001 From: gramanas Date: Fri, 26 Oct 2018 16:00:29 +0300 Subject: Confort to pedantic std-c99 and update readme --- src/ckerrlog.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/ckerrlog.h') diff --git a/src/ckerrlog.h b/src/ckerrlog.h index aa5840b..9d71458 100644 --- a/src/ckerrlog.h +++ b/src/ckerrlog.h @@ -48,17 +48,13 @@ X(logv) \ X(help) -extern void initialize_errlog(int argc, char* argv[]); +extern void initialize_errlog(int argc, const char** argv); extern void report_errlog(); extern void errlog_set_verbose(int level); -extern void ckerr(char *err, ...); -extern void cklog(char *log, ...); -extern void ckhelp(char *log, ...); - -#define X(stream) \ - extern void ck## stream(char *log, ...); \ - void ck## stream ##_with_delim(char *d, char *txt, ...); \ +#define X(stream) \ + extern void ck## stream(const char *log, ...); \ + void ck## stream ##_with_delim(const char *d,const char *txt, ...); \ void report_## stream(); CK_STREAMS #undef X -- cgit v1.2.3