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