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:
Gregory Nutt
2016-06-21 05:26:08 -06:00
parent bf0499aca3
commit 7f16548f57
16 changed files with 24 additions and 19 deletions
+3 -3
View File
@@ -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