mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Replaces last three commits. Does the same thing, but does it in a way that does not change the usage model.
This commit is contained in:
+3
-3
@@ -113,7 +113,7 @@
|
||||
# define __arch_syslog syslog
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
#ifdef CONFIG_DEBUG_ALERT
|
||||
# define _alert(format, ...) \
|
||||
__arch_syslog(LOG_EMERG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
||||
#else /* CONFIG_DEBUG_ERROR */
|
||||
@@ -669,7 +669,7 @@
|
||||
|
||||
/* Variadic macros NOT supported */
|
||||
|
||||
#ifndef CONFIG_DEBUG_FEATURES
|
||||
#ifndef CONFIG_DEBUG_ALERT
|
||||
# define _alert (void)
|
||||
# endif
|
||||
|
||||
@@ -1483,7 +1483,7 @@ void lib_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_CPP_HAVE_VARARGS
|
||||
#ifndef CONFIG_DEBUG_FEATURES
|
||||
#ifdef CONFIG_DEBUG_ALERT
|
||||
int _alert(const char *format, ...);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user