commands: convert K&R function definitions to ANSI C

Convert the old-style (K&R) function definitions in commands/ 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.

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

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Andreas Wendleder 2026-06-10 03:49:16 +02:00
parent 1fb9dd6310
commit 66a479714d
No known key found for this signature in database
GPG Key ID: 588785BFDFB01ABD
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ CmdCellname(
int option;
int locargc = cmd->tx_argc;
char *cellname = NULL, *orient = NULL;
void (*func)();
void (*func)(char *, int, bool);
CellDef *newDef, *cellDef;
static const char * const cmdCellOption[] =