From f0b6231017b625728ef6cd5197cc4812157aaae2 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 4 Oct 2024 11:26:10 +0100 Subject: [PATCH] K&R calma: prototype for non-existent function: calmaWriteMarkFunc() Remove forward declaration prototype to correct error. K&R obsolete syntax removal for C23 compatibility series --- calma/CalmaWrite.c | 1 - calma/CalmaWriteZ.c | 1 - 2 files changed, 2 deletions(-) diff --git a/calma/CalmaWrite.c b/calma/CalmaWrite.c index 6809b98d..9b0987a8 100644 --- a/calma/CalmaWrite.c +++ b/calma/CalmaWrite.c @@ -83,7 +83,6 @@ int CalmaCompression = 0; /* Output file compression level (0 = uncompressed) * /* Forward declarations */ extern int calmaWriteInitFunc(); -extern int calmaWriteMarkFunc(); extern int calmaWritePaintFunc(); extern int calmaMergePaintFunc(); extern int calmaWriteUseFunc(); diff --git a/calma/CalmaWriteZ.c b/calma/CalmaWriteZ.c index 80d0dbdb..42d60af9 100644 --- a/calma/CalmaWriteZ.c +++ b/calma/CalmaWriteZ.c @@ -91,7 +91,6 @@ extern int calmaPaintLayerType; /* External functions from CalmaWrite.c */ extern int calmaWriteInitFunc(); -extern int calmaWriteMarkFunc(); /* Forward declarations */ extern int calmaWritePaintFuncZ();