head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.06.28.06.16.28; author tsutsui; state Exp; branches; next ; commitid J1Yf621yszsDTwLG; desc @@ 1.1 log @ja-freewnn-{lib,server}: fix builds with gcc 14 and later - Add necessary standard headers to pull proper prototypes in test programs in the generated configure script to avoid errors caused by -Wimplicit-function-declaration (which is fatal on -std=gnu23) - Use proper qsort(3)-compatible comparator prototypes - Add missing prototypes for several function pointer arguments - Fix other -Wimcompatiple-pointer-types warnings - Appease several -Wpointer-compare and -Wpointer-sign warnings - Move -Wchar-subscripts fixes from SUBST to explicit patch files - Also fix wnn_sStrncpy() to use the correct conversion direction (found during -Wincompatiple-pointer-types cleanup) While here, take MAINTAINERship. Bump PKGREVISIONs. @ text @$NetBSD$ - Appease "comparison between pointer and integer" warning - Appease -Wchar-subscripts warnings/errors --- Xwnmo/romkan_m/rk_main.c.orig 2026-06-23 18:36:18.699420637 +0000 +++ Xwnmo/romkan_m/rk_main.c @@@@ -452,7 +452,7 @@@@ rk_buf_init () p->ungetc_buf = EOLTTR; p->unnext_buf = EOLTTR; p->delchr2 = EOLTTR; - p->ebf_sw = NULL; + p->ebf_sw = 0; p->oneletter[0] = p->oneletter[1] = EOLTTR; p->keybuf[0] = p->urabuf[0] = p->disout[0] = p->rk_output[0] = EOLTTR; p->rk_table = (RomkanTable *) NULL; @@@@ -1753,7 +1753,7 @@@@ henkan_ok () match()がurabufなどの調整をする。 */ fast letter *p; /* V3.1 */ #ifndef MULTI - static char ebf_sw = 0; /* V3.1 */ + static int ebf_sw = 0; /* V3.1 */ static letter oneletter[2] = { EOLTTR, EOLTTR }; /* V3.1 */ #endif /*!MULTI */ @