summaryrefslogtreecommitdiffstats
path: root/bin/ls/print.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-12-28 19:26:06 +0000
committerjoe <joe@FreeBSD.org>2001-12-28 19:26:06 +0000
commitb4f7193e80f4381dd023511863002bb54b4cc094 (patch)
treed0874fe3064e5fc602fd7072c939711711925261 /bin/ls/print.c
parent22810faf4bf92049f111aa5c7884ff09e125cea2 (diff)
downloadFreeBSD-src-b4f7193e80f4381dd023511863002bb54b4cc094.zip
FreeBSD-src-b4f7193e80f4381dd023511863002bb54b4cc094.tar.gz
Mop up some warnings.
Diffstat (limited to 'bin/ls/print.c')
-rw-r--r--bin/ls/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index f0fb670..af1b275 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -94,7 +94,7 @@ typedef enum Colors {
C_NUMCOLORS /* just a place-holder */
} Colors;
-char *defcolors = "exfxcxdxbxegedabagacad";
+const char *defcolors = "exfxcxdxbxegedabagacad";
/* colors for file types */
static struct {
@@ -468,7 +468,7 @@ colortype(mode)
void
parsecolors(cs)
- char *cs;
+ const char *cs;
{
int i;
int j;
OpenPOWER on IntegriCloud