From b66840f81ebc1e418809732334cba319c278a9fe Mon Sep 17 00:00:00 2001 From: asmodai Date: Fri, 20 Apr 2001 09:43:30 +0000 Subject: Properly constify the rcsid[]. --- usr.bin/xlint/lint1/decl.c | 3 ++- usr.bin/xlint/lint1/err.c | 3 ++- usr.bin/xlint/lint1/func.c | 3 ++- usr.bin/xlint/lint1/mem1.c | 3 ++- usr.bin/xlint/lint1/tree.c | 3 ++- usr.bin/xlint/lint2/mem2.c | 3 ++- usr.bin/xlint/lint2/read.c | 3 ++- usr.bin/xlint/xlint/xlint.c | 3 ++- 8 files changed, 16 insertions(+), 8 deletions(-) (limited to 'usr.bin') 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 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 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 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 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 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 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 -- cgit v1.1