libc/err: Add _func suffix to avoid the the penitential symbol collision
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
e26d8759d0
commit
16d858f3ee
|
@ -28,6 +28,22 @@
|
|||
#include <stdarg.h>
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Append _func suffix to avoid the penitential symbol collision */
|
||||
|
||||
#define warn warn_func
|
||||
#define vwarn vwarn_func
|
||||
#define warnx warnx_func
|
||||
#define vwarnx vwarnx_func
|
||||
|
||||
#define err err_func
|
||||
#define verr verr_func
|
||||
#define errx errx_func
|
||||
#define verrx verrx_func
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue