summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-03-24 18:22:37 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-03-24 19:52:16 -0700
commitc7c7197d265a299c82c6629fba867730aad81375 (patch)
treefc7bfa6dce99476f888b378a7ebda78d6c6f873e /parse.c
parenta6a8afb0a82a175822077442f44865c75ab70ff1 (diff)
downloadxorg-util-makedepend-c7c7197d265a299c82c6629fba867730aad81375.tar.gz
Increased constification
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/parse.c b/parse.c
index 5248293..36dc558 100644
--- a/parse.c
+++ b/parse.c
@@ -28,12 +28,12 @@ in this Software without prior written authorization from The Open Group.
#include "def.h"
-extern char *directives[];
+extern const char * const directives[];
extern struct inclist inclist[ MAXFILES ],
*inclistnext,
maininclist;
-extern char *includedirs[ ],
- **includedirsnext;
+extern const char *includedirs[ ],
+ **includedirsnext;
static int deftype (char *line, struct filepointer *filep,
struct inclist *file_red, struct inclist *file,
@@ -555,7 +555,7 @@ find_includes(struct filepointer *filep, struct inclist *file,
struct inclist *file_red, int recursion, boolean failOK)
{
struct inclist *inclistp;
- char **includedirsp;
+ const char **includedirsp;
register char *line;
register int type;
boolean recfailOK;