From 08c29110a616fb795278a7696e2470283228759a Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Thu, 18 Feb 2021 19:50:32 -0300 Subject: [PATCH] system/cle: Fix cle application build --- system/cle/cle.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/system/cle/cle.c b/system/cle/cle.c index d5f43f2e3..97f9387d9 100644 --- a/system/cle/cle.c +++ b/system/cle/cle.c @@ -168,7 +168,7 @@ struct cle_s ****************************************************************************/ #if CONFIG_SYSTEM_CLE_DEBUGLEVEL > 0 -static int cle_debug(FAR const char *fmt, ...); +static void cle_debug(FAR const char *fmt, ...); #endif /* Low-level display and data entry functions */ @@ -248,17 +248,15 @@ static const char g_setcolor[] = VT100_FMT_FORE_COLOR; ****************************************************************************/ #if CONFIG_SYSTEM_CLE_DEBUGLEVEL > 0 -static int cle_debug(FAR const char *fmt, ...) +static void cle_debug(FAR const char *fmt, ...) { va_list ap; - int ret; /* Let vsyslog do the real work */ va_start(ap, fmt); - ret = vsyslog(LOG_DEBUG, fmt, ap); + vsyslog(LOG_DEBUG, fmt, ap); va_end(ap); - return ret; } #endif