Constify.

Sponsored by: DARPA & NAI Labs.
This commit is contained in:
Poul-Henning Kamp 2002-04-07 09:58:28 +00:00
parent 16b08d2552
commit 1ae3f81d9b
3 changed files with 6 additions and 6 deletions

View File

@ -203,7 +203,7 @@ dkcksum(lp)
#define DTYPE_JFS2 16 /* IBM JFS 2 */
#ifdef DKTYPENAMES
static char *dktypenames[] = {
static const char *dktypenames[] = {
"unknown",
"SMD",
"MSCP",
@ -249,7 +249,7 @@ static char *dktypenames[] = {
#define FS_JFS2 21 /* IBM JFS2 */
#ifdef DKTYPENAMES
static char *fstypenames[] = {
static const char *fstypenames[] = {
"unused",
"swap",
"Version 6",

View File

@ -203,7 +203,7 @@ dkcksum(lp)
#define DTYPE_JFS2 16 /* IBM JFS 2 */
#ifdef DKTYPENAMES
static char *dktypenames[] = {
static const char *dktypenames[] = {
"unknown",
"SMD",
"MSCP",
@ -249,7 +249,7 @@ static char *dktypenames[] = {
#define FS_JFS2 21 /* IBM JFS2 */
#ifdef DKTYPENAMES
static char *fstypenames[] = {
static const char *fstypenames[] = {
"unused",
"swap",
"Version 6",

View File

@ -203,7 +203,7 @@ dkcksum(lp)
#define DTYPE_JFS2 16 /* IBM JFS 2 */
#ifdef DKTYPENAMES
static char *dktypenames[] = {
static const char *dktypenames[] = {
"unknown",
"SMD",
"MSCP",
@ -249,7 +249,7 @@ static char *dktypenames[] = {
#define FS_JFS2 21 /* IBM JFS2 */
#ifdef DKTYPENAMES
static char *fstypenames[] = {
static const char *fstypenames[] = {
"unused",
"swap",
"Version 6",