From eb89ab181c923ab2120ceb409138a4c9d3dec39b Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Sat, 12 Oct 2024 13:57:08 +0100 Subject: [PATCH] debug: use 'const' with 'rcsid' --- debug/debugFlags.c | 2 +- debug/hist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debug/debugFlags.c b/debug/debugFlags.c index 175a0322..45900fc6 100644 --- a/debug/debugFlags.c +++ b/debug/debugFlags.c @@ -19,7 +19,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/debug/debugFlags.c,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"; +static const char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/debug/debugFlags.c,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"; #endif /* not lint */ #include diff --git a/debug/hist.c b/debug/hist.c index 9cf07910..589dbe7b 100644 --- a/debug/hist.c +++ b/debug/hist.c @@ -16,7 +16,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/debug/hist.c,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"; +static const char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/debug/hist.c,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"; #endif /* not lint */ #include