From 43358bdad3cc4bdd243ea70befe1d295dae57a44 Mon Sep 17 00:00:00 2001 From: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com> Date: Sat, 30 Dec 2023 22:22:20 +0100 Subject: [PATCH] Cleanup stringify --- src/main.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.h b/src/main.h index 75faf4625..3cba18fd3 100644 --- a/src/main.h +++ b/src/main.h @@ -127,11 +127,7 @@ extern struct dcc_table DCC_CHAT, DCC_BOT, DCC_LOST, DCC_SCRIPT, DCC_BOT_NEW, /* Default recommended flags for this user, use | as splitter */ #define EGG_BG_CONMASK LOG_MISC /* "o" */ -/* Stringify macros */ -#define EGG_MACRO_STR(x) EGG_STR(x) -#define EGG_STR(x) #x - -#define EGG_AC_ARGS EGG_MACRO_STR(EGG_AC_ARGS_RAW) +#define EGG_AC_ARGS STRINGIFY(EGG_AC_ARGS_RAW) #define ARRAY_SIZE(x) (sizeof (x) / sizeof *(x))