summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-10-23 10:15:44 +0000
committermarkm <markm@FreeBSD.org>2002-10-23 10:15:44 +0000
commiteda1974761b960cf014c2177bbbfb77df3bfd1c0 (patch)
tree128deefc3ceb3000225a451fe445a6a56e82f80a /bin/ls
parentb729fd6d31ce73a54ed94a089ad652f7c799b0d2 (diff)
downloadFreeBSD-src-eda1974761b960cf014c2177bbbfb77df3bfd1c0.zip
FreeBSD-src-eda1974761b960cf014c2177bbbfb77df3bfd1c0.tar.gz
Constify to squash some warnings.
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/lomac.c2
-rw-r--r--bin/ls/lomac.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ls/lomac.c b/bin/ls/lomac.c
index e1462e0..8ee215a 100644
--- a/bin/ls/lomac.c
+++ b/bin/ls/lomac.c
@@ -106,7 +106,7 @@ lomac_stop(void)
*/
char *
-get_lattr(FTSENT *ent)
+get_lattr(const FTSENT *ent)
{
char *lattr;
diff --git a/bin/ls/lomac.h b/bin/ls/lomac.h
index be30a7f..4a7ad3e 100644
--- a/bin/ls/lomac.h
+++ b/bin/ls/lomac.h
@@ -37,4 +37,4 @@
void lomac_start(void);
void lomac_stop(void);
-char *get_lattr(FTSENT *);
+char *get_lattr(const FTSENT *);
OpenPOWER on IntegriCloud