mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 15:45:36 +04:00
GCC 15 interprets libhttpd's empty callback parameter lists as zero-argument prototypes in GNU C23. The library passes the server, request and status to its error callbacks. It also uses legacy declarations for route and preload callbacks. Use GNU C17 for the normal and TLS variants, preserving the libhttpd callback interface and leaving compiler diagnostics enabled. Assisted-by: LLM Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>