head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.06.15.07.36.25; author nia; state Exp; branches; next ; commitid KXmgksIxqtwUKRJG; desc @@ 1.1 log @proftpd: Fails with C23 default language. Uses "bool" as a variable name, which conflicts with the C23 keyword. @ text @$NetBSD$ Avoid using bool as a variable name, it conflicts with the C keyword/typedef. --- src/table.c.orig 2026-06-15 07:32:35.496258584 +0000 +++ src/table.c @@@@ -1277,10 +1277,10 @@@@ void pr_table_dump(void (*dumpf)(const char *fmt, ...) } } -int table_handling_signal(int bool) { - if (bool == TRUE || - bool == FALSE) { - handling_signal = bool; +int table_handling_signal(int boolvar) { + if (boolvar == TRUE || + boolvar == FALSE) { + handling_signal = boolvar; return 0; } @