From 9d0cd63a4e1e6fbf1962060634f92c618f1caae7 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Sat, 4 Jan 2025 09:01:41 +0000 Subject: [PATCH] lef: use 'const' with 'rcsid' --- lef/defRead.c | 2 +- lef/defWrite.c | 2 +- lef/lefCmd.c | 2 +- lef/lefRead.c | 2 +- lef/lefTech.c | 2 +- lef/lefWrite.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lef/defRead.c b/lef/defRead.c index 8610a4d3..3629aaac 100644 --- a/lef/defRead.c +++ b/lef/defRead.c @@ -9,7 +9,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/defRead.c,v 1.2 2008/06/01 18:37:43 tim Exp $"; +static const char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/defRead.c,v 1.2 2008/06/01 18:37:43 tim Exp $"; #endif /* not lint */ #include diff --git a/lef/defWrite.c b/lef/defWrite.c index e8219ae5..7cdf7a26 100644 --- a/lef/defWrite.c +++ b/lef/defWrite.c @@ -11,7 +11,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/defWrite.c,v 1.2 2008/02/10 19:30:21 tim Exp $"; +static const char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/defWrite.c,v 1.2 2008/02/10 19:30:21 tim Exp $"; #endif /* not lint */ #include diff --git a/lef/lefCmd.c b/lef/lefCmd.c index 61bae974..1d8b1356 100644 --- a/lef/lefCmd.c +++ b/lef/lefCmd.c @@ -6,7 +6,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/lefCmd.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/lef/lefCmd.c,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"; #endif /* not lint */ #include diff --git a/lef/lefRead.c b/lef/lefRead.c index 378d4481..3fd73279 100644 --- a/lef/lefRead.c +++ b/lef/lefRead.c @@ -14,7 +14,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/lefRead.c,v 1.2 2008/12/17 18:40:04 tim Exp $"; +static const char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/lef/lefRead.c,v 1.2 2008/12/17 18:40:04 tim Exp $"; #endif /* not lint */ #include diff --git a/lef/lefTech.c b/lef/lefTech.c index 8e58c2f4..ce61487d 100644 --- a/lef/lefTech.c +++ b/lef/lefTech.c @@ -21,7 +21,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header$"; +static const char rcsid[] __attribute__ ((unused)) = "$Header$"; #endif /* not lint */ #include diff --git a/lef/lefWrite.c b/lef/lefWrite.c index 57439d3c..0421e10d 100644 --- a/lef/lefWrite.c +++ b/lef/lefWrite.c @@ -13,7 +13,7 @@ */ #ifndef lint -static char rcsid[] __attribute__ ((unused)) = "$Header$"; +static const char rcsid[] __attribute__ ((unused)) = "$Header$"; #endif /* not lint */ #include