From ba36c3ee7f3c807ac07b04bb181a742eae865a60 Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 1 Jul 2005 19:40:50 +0000 Subject: 2005-07-01 Martin Hunt * string.c (_stp_string_init): CAll stp_error() on bad init. * list.c (_stp_list_clear): Call _stp_warn(). --- runtime/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/io.c') diff --git a/runtime/io.c b/runtime/io.c index dd74eea8..d59b511a 100644 --- a/runtime/io.c +++ b/runtime/io.c @@ -12,6 +12,9 @@ #include "transport/transport.c" +void _stp_print_flush (void); +void _stp_string_cat_cstr (String str1, const char *str2); + /** @file io.c * @brief I/O for printing warnings, errors and debug messages. */ @@ -28,9 +31,6 @@ static char _stp_lbuf[NR_CPUS][STP_LOG_BUF_LEN + 1]; enum code { INFO=0, WARN, ERROR, DBUG }; -void _stp_print_flush (void); -void _stp_string_cat_cstr (String str1, const char *str2); - static void _stp_vlog (enum code type, char *func, int line, const char *fmt, va_list args) { int num, ret; -- cgit