summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2014-07-07 01:59:03 -0400
committerPaul Smith <psmith@gnu.org>2014-07-07 01:59:03 -0400
commitbe009b9a889f4c58f69b4fb4bd8f5e98b9700555 (patch)
tree5e6c7f534a34aa90f3da9b522cfa31ab4181b3d3 /remake.c
parent2eb63e6e43b290e84a279b24d5fcb13f2ff0cf58 (diff)
downloadmake-be009b9a889f4c58f69b4fb4bd8f5e98b9700555.tar.gz
* maintMakefile, various: Improve constification of the codebase.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remake.c b/remake.c
index 01e83a76..acf7ca52 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)"));