From c40f26a15c0dce60ee365ee3f6d0779ef19cd947 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 14 Feb 2016 13:44:16 -0500 Subject: Don't modify the result of getenv(). --- color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'color.h') 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. -- cgit v1.2.3