summaryrefslogtreecommitdiff
path: root/lib/ccdbg-debug.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-12-22 19:10:27 -0800
committerKeith Packard <keithp@keithp.com>2008-12-22 19:10:27 -0800
commit55eba4fa08b022197106245d36a70f575a070b0a (patch)
tree4185f272f0acf59bd44c949f182591b4868b71d3 /lib/ccdbg-debug.c
parente75918f3667a5c8ad294bec4acef6fe81682edf6 (diff)
Make read_memory debug output use ccdbg_debug.
This makes it default to not being presented, which makes s51 much happier Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'lib/ccdbg-debug.c')
-rw-r--r--lib/ccdbg-debug.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ccdbg-debug.c b/lib/ccdbg-debug.c
index 2e67bc8d..8f6f9e11 100644
--- a/lib/ccdbg-debug.c
+++ b/lib/ccdbg-debug.c
@@ -45,3 +45,9 @@ ccdbg_debug(int level, char *format, ...)
va_end(ap);
}
}
+
+void
+ccdbg_flush(void)
+{
+ fflush(stdout);
+}