• src/doors/knkgen/knkgen.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Nov 25 19:01:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/39a463f7e47b694164c522ff
    Modified Files:
    src/doors/knkgen/knkgen.c
    Log Message:
    knkgen: rename canonicalize() to avoid C23 <math.h> conflict

    C23 adds canonicalize() to <math.h>, and glibc declares it when
    compiling in C23 mode -- the default with GCC 15 (e.g. Arch Linux).
    knkgen.c includes <math.h> for floorl()/sqrtl(), so its static canonicalize(char *) became a conflicting redeclaration. Rename it to knkgen_canonicalize().

    Fixes #1428

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net