magic/gcr
Andreas Wendleder fc95cacba2
gcr: convert K&R function definitions to ANSI C
Convert the old-style (K&R) function definitions in gcr/ to ANSI C
prototypes, formatted in the project's convention: the return type on its
own line and each parameter on its own line, indented four spaces, with
the original parameter comments retained.

Updates gcr.h with prototypes for the affected declarations.

Builds cleanly under GCC 16 / C23 (with the -std=gnu17 build change).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 03:49:04 +02:00
..
Makefile Makefile: whitespace only change 2025-07-29 10:50:32 -04:00
gcr.h gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrChannel.c freeMagic1() idiom insertion at all sites reported by static code analysis 2025-12-19 09:31:58 -05:00
gcrColl.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrDebug.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrEdge.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrFeas.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
gcrFlags.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
gcrInit.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrLib.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrRiver.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrRoute.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrShwFlgs.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00
gcrUnsplit.c gcr: convert K&R function definitions to ANSI C 2026-06-10 03:49:04 +02:00