diff options
author | harti <harti@FreeBSD.org> | 2005-02-04 07:51:00 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-04 07:51:00 +0000 |
commit | 5f05e672b60e11286d017484346dfc03125fe119 (patch) | |
tree | 510f8974a43017bfabf1edf849d4783a73a75eb2 /usr.bin/make/dir.c | |
parent | c673c301c646bfcc9048357dce9d51185100ca38 (diff) | |
download | FreeBSD-src-5f05e672b60e11286d017484346dfc03125fe119.zip FreeBSD-src-5f05e672b60e11286d017484346dfc03125fe119.tar.gz |
Some more easy constification.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index f8c0a75..2f6cd61 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -977,7 +977,7 @@ Dir_MTime(GNode *gn) *----------------------------------------------------------------------- */ void -Dir_AddDir(Lst *path, char *name) +Dir_AddDir(Lst *path, const char *name) { LstNode *ln; /* node in case Path structure is found */ Path *p; /* pointer to new Path structure */ @@ -1076,7 +1076,7 @@ Dir_CopyDir(void *p) *----------------------------------------------------------------------- */ char * -Dir_MakeFlags(char *flag, Lst *path) +Dir_MakeFlags(const char *flag, Lst *path) { char *str; /* the string which will be returned */ char *tstr; /* the current directory preceded by 'flag' */ |