summaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-14 13:44:16 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-14 13:44:16 -0500
commitc40f26a15c0dce60ee365ee3f6d0779ef19cd947 (patch)
treea2d993f8cac9245c617da01a7f7fdb5b7ea47ffb /color.h
parent585a9dafe86b51a2d120d107bb04a77b34cc1af0 (diff)
downloadbfs-c40f26a15c0dce60ee365ee3f6d0779ef19cd947.tar.xz
Don't modify the result of getenv().
Diffstat (limited to 'color.h')
-rw-r--r--color.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.h b/color.h
index d022d34..61b71c0 100644
--- a/color.h
+++ b/color.h
@@ -26,7 +26,7 @@ struct color_table;
* A color table in the LS_COLORS environment variable format.
* @return The parsed color table.
*/
-struct color_table *parse_colors(char *ls_colors);
+struct color_table *parse_colors(const char *ls_colors);
/**
* Pretty-print a file path.