From 22cce0cedaa4255784174dbe0a662317bffeb090 Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 17 Jul 2008 21:14:05 +0000 Subject: [PATCH] Removed unused fprintf for now since it was giving compiler warnings. --- bacnet-stack/include/debug.h | 2 -- bacnet-stack/src/debug.c | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/bacnet-stack/include/debug.h b/bacnet-stack/include/debug.h index 2c716b1b..19d86b30 100644 --- a/bacnet-stack/include/debug.h +++ b/bacnet-stack/include/debug.h @@ -41,10 +41,8 @@ #if DEBUG_ENABLED void debug_printf(const char * format, ...); -void debug_fprintf(FILE * stream, const char * format, ...); #else static void debug_printf(const char * format, ...) {} -static void debug_fprintf(FILE * stream, const char * format, ...) {} #endif #endif diff --git a/bacnet-stack/src/debug.c b/bacnet-stack/src/debug.c index 79dee238..22c5b936 100644 --- a/bacnet-stack/src/debug.c +++ b/bacnet-stack/src/debug.c @@ -49,15 +49,3 @@ void debug_printf(const char * format, ...) return; } - -void debug_fprintf(FILE * stream, const char * format, ...) -{ - va_list ap; - - va_start(ap, format); - vfprintf(stream, format, ap); - va_end(ap); - fflush(stream); - - return; -}