summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint/lint2
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-04-20 09:43:30 +0000
committerasmodai <asmodai@FreeBSD.org>2001-04-20 09:43:30 +0000
commitb66840f81ebc1e418809732334cba319c278a9fe (patch)
tree72f4c3890c1632fa4c9f01f18d093a662981de78 /usr.bin/xlint/lint2
parentc6f8831e8eb6cbbca16ff76fcfef1725228a9ece (diff)
downloadFreeBSD-src-b66840f81ebc1e418809732334cba319c278a9fe.zip
FreeBSD-src-b66840f81ebc1e418809732334cba319c278a9fe.tar.gz
Properly constify the rcsid[].
Diffstat (limited to 'usr.bin/xlint/lint2')
-rw-r--r--usr.bin/xlint/lint2/mem2.c3
-rw-r--r--usr.bin/xlint/lint2/read.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/xlint/lint2/mem2.c b/usr.bin/xlint/lint2/mem2.c
index ac1137f..dffeb1c 100644
--- a/usr.bin/xlint/lint2/mem2.c
+++ b/usr.bin/xlint/lint2/mem2.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
#include <sys/param.h>
diff --git a/usr.bin/xlint/lint2/read.c b/usr.bin/xlint/lint2/read.c
index 99e8aae..823c383 100644
--- a/usr.bin/xlint/lint2/read.c
+++ b/usr.bin/xlint/lint2/read.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
#include <stdio.h>
OpenPOWER on IntegriCloud