From a8a7d4ed98bdcb9f02fb28aaa30217b07be0b0be Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 8 Jul 2003 17:11:04 +0000 Subject: [PATCH] Update logging with some new targets for better compling without debugging Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1099 --- include/Makefile.am | 1 + include/logging.h | 27 +++++++++------------------ 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/include/Makefile.am b/include/Makefile.am index 2e395d13..20f35bb0 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -23,6 +23,7 @@ programs.h \ render.h \ regs.h \ render.h \ +serialport.h \ setup.h \ support.h \ timer.h \ diff --git a/include/logging.h b/include/logging.h index 62435fa4..1735dfff 100644 --- a/include/logging.h +++ b/include/logging.h @@ -40,25 +40,16 @@ void DEBUG_ShowMsg(char * format,...); struct LOG { - LOG(LOG_TYPES type, LOG_SEVERITIES severity) { 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;} + LOG(LOG_TYPES type, LOG_SEVERITIES severity) { return;} + void operator()(char const* buf) { return;} + void operator()(char const* buf, double f1) { return;} + void operator()(char const* buf, double f1, double f2) { return;} + void operator()(char const* buf, double f1, double f2, double f3) { 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 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;} + void operator()(char const* buf, char const* s1) { return;} + void operator()(char const* buf, char const* s1, double f1) { return;} + void operator()(char const* buf, char const* s1, double f1,double f2) { return;} + void operator()(char const* buf, double f1, char const* s1) { return;}