head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.06.28.06.16.27; 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 --- Wnn/jserver/jishoop.c.orig 2013-09-02 11:01:39.000000000 +0000 +++ Wnn/jserver/jishoop.c @@@@ -531,7 +531,7 @@@@ found_it: if (p->kosuu == 1) { *next_pter = p->next; - if (tary[ind1].pter == NULL) + if (tary[ind1].pter == ENDPTR) remove_space (tary, ind1, jtl, tary[ind1].pter1); if (p->serial == jtl->maxserial - 1) { @