diff options
| -rw-r--r-- | usr.bin/xlint/lint1/decl.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/lint1/err.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/lint1/func.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/lint1/mem1.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/lint1/tree.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/lint2/mem2.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/lint2/read.c | 3 | ||||
| -rw-r--r-- | usr.bin/xlint/xlint/xlint.c | 3 |
8 files changed, 16 insertions, 8 deletions
diff --git a/usr.bin/xlint/lint1/decl.c b/usr.bin/xlint/lint1/decl.c index 7a800fd51c85..c88a5a80b550 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 2bff0f5ab120..212a7d729857 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 e80bc8fec67e..f4d0223840c2 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 e6a2014a51f8..239d243ad7be 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 ae6103f8ad54..ca10e1f6519a 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 ac1137fddf85..dffeb1c28e75 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 99e8aae547ad..823c38354b28 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 7505bddfb351..687f935a1fa6 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> |
