diff --git a/include/err.h b/include/err.h index 04d0ac05694..67b297909c2 100644 --- a/include/err.h +++ b/include/err.h @@ -28,6 +28,22 @@ #include #include +/**************************************************************************** + * 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 ****************************************************************************/