From afd1b0b2df98da6887322491e81b6fcbdfc948ef Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 4 Oct 2024 12:04:37 +0100 Subject: [PATCH] K&R commands: 2 x missing forward declaration removal Functions do not appear to exist: extern void DisplayWindow(); extern void DisplayWindow(); K&R obsolete syntax removal for C23 compatibility series --- commands/CmdRS.c | 2 -- commands/CmdTZ.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/commands/CmdRS.c b/commands/CmdRS.c index cb96fdcd..449508b2 100644 --- a/commands/CmdRS.c +++ b/commands/CmdRS.c @@ -62,8 +62,6 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/ #include "router/router.h" #include "wiring/wiring.h" -extern void DisplayWindow(); - /* Used by CmdSetLabel() */ Label *DefaultLabel; diff --git a/commands/CmdTZ.c b/commands/CmdTZ.c index c77afa7f..1b88d167 100644 --- a/commands/CmdTZ.c +++ b/commands/CmdTZ.c @@ -57,8 +57,6 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/ #include "yacr.h" #endif /* LLNL */ -extern void DisplayWindow(); - /* Trivial function that returns 1 if called */ int