From 154c3efa5ccbf2057e1b4c63be0c5b4a7e55254e Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 31 Jan 2025 19:04:54 +0000 Subject: [PATCH] wiring: use 'const' with 'rcsid' --- wiring/wireOps.c | 2 +- wiring/wireTech.c | 2 +- wiring/wireUndo.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wiring/wireOps.c b/wiring/wireOps.c index bb80ae19..4b8fb249 100644 --- a/wiring/wireOps.c +++ b/wiring/wireOps.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header$"; +static const char rcsid[] __attribute__ ((unused)) = "$Header$"; #endif /* not lint */ #include diff --git a/wiring/wireTech.c b/wiring/wireTech.c index 2dbe7cd2..bfa73b3d 100644 --- a/wiring/wireTech.c +++ b/wiring/wireTech.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header$"; +static const char rcsid[] __attribute__ ((unused)) = "$Header$"; #endif /* not lint */ #include diff --git a/wiring/wireUndo.c b/wiring/wireUndo.c index e2e2b615..719a530e 100644 --- a/wiring/wireUndo.c +++ b/wiring/wireUndo.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header$"; +static const char rcsid[] __attribute__ ((unused)) = "$Header$"; #endif /* not lint */ #include