From 6a1865cdbb141e6901bdaa89cc41ff8a0a3f29ce Mon Sep 17 00:00:00 2001 From: Hartmut Brandt Date: Tue, 22 Feb 2005 08:17:05 +0000 Subject: [PATCH] Fix the prototypes by addings some constness. This should have been committed together with the commit to dir.c:1.48. --- usr.bin/make/dir.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/make/dir.h b/usr.bin/make/dir.h index d699b1a7668..75922b87002 100644 --- a/usr.bin/make/dir.h +++ b/usr.bin/make/dir.h @@ -63,11 +63,11 @@ void Dir_Expand(char *, struct Lst *, struct Lst *); char *Dir_FindFile(char *, struct Lst *); int Dir_MTime(struct GNode *); void Dir_AddDir(struct Lst *, const char *); -char *Dir_MakeFlags(const char *, struct Lst *); +char *Dir_MakeFlags(const char *, const struct Lst *); void Dir_ClearPath(struct Lst *); void Dir_Concat(struct Lst *, struct Lst *); void Dir_PrintDirectories(void); -void Dir_PrintPath(struct Lst *); +void Dir_PrintPath(const struct Lst *); void Dir_Destroy(void *); void *Dir_CopyDir(void *);