From 19baf5744575ab053497ea40a365be3d94e9bb58 Mon Sep 17 00:00:00 2001 From: Michael Ortmann Date: Mon, 16 Oct 2023 16:46:06 +0200 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 f346d5cdf..b09fc326a 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))