From ac67346d0fb5e5ea359d34c2c9215bd1892455f3 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 25 Apr 2014 17:10:47 -0400 Subject: * maintMakefile, various: Improve constification of the codebase. --- remake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remake.c') diff --git a/remake.c b/remake.c index 01e83a7..acf7ca5 100644 --- a/remake.c +++ b/remake.c @@ -1546,7 +1546,7 @@ name_mtime (const char *name) static const char * library_search (const char *lib, FILE_TIMESTAMP *mtime_ptr) { - static char *dirs[] = + static const char *dirs[] = { #ifndef _AMIGA "/lib", @@ -1576,7 +1576,7 @@ library_search (const char *lib, FILE_TIMESTAMP *mtime_ptr) /* Information about the earliest (in the vpath sequence) match. */ unsigned int best_vpath = 0, best_path = 0; - char **dp; + const char **dp; libpatterns = xstrdup (variable_expand ("$(.LIBPATTERNS)")); -- cgit v1.2.3