aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckerrlog.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-26 16:00:29 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-26 16:02:07 +0300
commit41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd (patch)
treeb29207e44aa8dcc10ef2deb51ac1514fb934c420 /src/ckerrlog.h
parenta6b2b4b2a4095d2f95419df986378e54432c2d71 (diff)
downloadck-41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd.tar.gz
ck-41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd.tar.bz2
ck-41ae1a0f0d86d2fc19f333ee23889c11beb0a4dd.zip
Confort to pedantic std-c99 and update readme
Diffstat (limited to 'src/ckerrlog.h')
-rw-r--r--src/ckerrlog.h12
1 files changed, 4 insertions, 8 deletions
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