Nicolas PARLANT 604fae8f46
net-irc/ngircd: fix c23
>./../portab/portab.h:42:24: note: expanded from macro
>      'PARAMS'
>   42 | #  define PARAMS(args) ()
>      |                        ^
>In file included from tool.c:33:
>./tool.h:24:13: error: a function declaration without a
>      prototype is deprecated in all versions of C and is treated as a
>      zero-parameter prototype in C23, conflicting with a subsequent definition
>      [-Werror,-Wdeprecated-non-prototype]
>   24 | GLOBAL void ngt_TrimStr PARAMS((char *String ));
>      |             ^

ifdef PROTOTYPES is here, let's use it

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43894
Closes: https://github.com/gentoo/gentoo/pull/43894
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-22 16:25:36 +01:00
..