From f64cceafdf0b38a3b5686d1ce7a23f8859c94599 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 11 May 2003 19:51:31 +0000 Subject: [PATCH] added const to some char* and some other changes to get it compiling under gcc Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1007 --- include/logging.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/include/logging.h b/include/logging.h index c4fe491a..62435fa4 100644 --- a/include/logging.h +++ b/include/logging.h @@ -41,24 +41,24 @@ void DEBUG_ShowMsg(char * format,...); struct LOG { LOG(LOG_TYPES type, LOG_SEVERITIES severity) { return;} - void operator()(char* buf) { return;} - void operator()(char* buf, double f1) { return;} - void operator()(char* buf, double f1, Bit32u u1) { return;} - void operator()(char* buf, Bitu u1, double f1) { return;} + void operator()(char const* buf) { return;} + void operator()(char const* buf, double f1) { return;} + void operator()(char const* buf, double f1, Bit32u u1) { return;} + void operator()(char const* buf, Bitu u1, double f1) { return;} - void operator()(char* buf, Bitu u1, Bitu u2) { return;} - void operator()(char* buf, Bits u1, Bits u2) { return;} - void operator()(char* buf, Bitu u1, Bits u2) { return;} - void operator()(char* buf, Bits u1, Bitu u2) { return;} - void operator()(char* buf, Bit32s u1) { return;} - void operator()(char* buf, Bit32u u1) { return;} - void operator()(char* buf, Bits s1) { return;} - void operator()(char* buf, Bitu u1) { return;} + void operator()(char const* buf, Bitu u1, Bitu u2) { return;} + void operator()(char const* buf, Bits u1, Bits u2) { return;} + void operator()(char const* buf, Bitu u1, Bits u2) { return;} + void operator()(char const* buf, Bits u1, Bitu u2) { return;} + void operator()(char const* buf, Bit32s& u1) { return;} + void operator()(char const* buf, Bit32u& u1) { return;} + void operator()(char const* buf, Bits& s1) { return;} + void operator()(char const* buf, Bitu& u1) { return;} - void operator()(char* buf, char* s1) { return;} - void operator()(char* buf, char* s1, Bit32u u1) { return;} - void operator()(char* buf, char* s1, Bit32u u1, Bit32u u2) { return;} - void operator()(char* buf, Bit32u u1, char* s1) { return;} + void operator()(char const* buf, char const* s1) { return;} + void operator()(char const* buf, char const* s1, Bit32u u1) { return;} + void operator()(char const* buf, char const* s1, Bit32u u1, Bit32u u2) { return;} + void operator()(char const* buf, Bit32u u1, char const* s1) { return;}