summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
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
parentc6f8831e8eb6cbbca16ff76fcfef1725228a9ece (diff)
downloadFreeBSD-src-b66840f81ebc1e418809732334cba319c278a9fe.zip
FreeBSD-src-b66840f81ebc1e418809732334cba319c278a9fe.tar.gz
Properly constify the rcsid[].
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/decl.c3
-rw-r--r--usr.bin/xlint/lint1/err.c3
-rw-r--r--usr.bin/xlint/lint1/func.c3
-rw-r--r--usr.bin/xlint/lint1/mem1.c3
-rw-r--r--usr.bin/xlint/lint1/tree.c3
-rw-r--r--usr.bin/xlint/lint2/mem2.c3
-rw-r--r--usr.bin/xlint/lint2/read.c3
-rw-r--r--usr.bin/xlint/xlint/xlint.c3
8 files changed, 16 insertions, 8 deletions
diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c
index 7a800fd..c88a5a8 100644
--- a/usr.bin/xlint/lint1/decl.c
+++ b/usr.bin/xlint/lint1/decl.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/lint1/err.c b/usr.bin/xlint/lint1/err.c
index 2bff0f5..212a7d7 100644
--- a/usr.bin/xlint/lint1/err.c
+++ b/usr.bin/xlint/lint1/err.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
/* number of errors found */
diff --git a/usr.bin/xlint/lint1/func.c b/usr.bin/xlint/lint1/func.c
index e80bc8f..f4d0223 100644
--- a/usr.bin/xlint/lint1/func.c
+++ b/usr.bin/xlint/lint1/func.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
#include <stdlib.h>
diff --git a/usr.bin/xlint/lint1/mem1.c b/usr.bin/xlint/lint1/mem1.c
index e6a2014..239d243 100644
--- a/usr.bin/xlint/lint1/mem1.c
+++ b/usr.bin/xlint/lint1/mem1.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
#include <sys/types.h>
diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c
index ae6103f..ca10e1f 100644
--- a/usr.bin/xlint/lint1/tree.c
+++ b/usr.bin/xlint/lint1/tree.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
#include <stdlib.h>
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>
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index 7505bdd..687f935 100644
--- a/usr.bin/xlint/xlint/xlint.c
+++ b/usr.bin/xlint/xlint/xlint.c
@@ -32,7 +32,8 @@
*/
#ifndef lint
-static char rcsid[] = "$FreeBSD$";
+static const char rcsid[] =
+ "$FreeBSD$";
#endif
#include <sys/param.h>
OpenPOWER on IntegriCloud