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