summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/targ.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-04 07:51:00 +0000
committerharti <harti@FreeBSD.org>2005-02-04 07:51:00 +0000
commit5f05e672b60e11286d017484346dfc03125fe119 (patch)
tree510f8974a43017bfabf1edf849d4783a73a75eb2 /usr.bin/make/targ.c
parentc673c301c646bfcc9048357dce9d51185100ca38 (diff)
downloadFreeBSD-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/targ.c')
-rw-r--r--usr.bin/make/targ.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index 57de36c..689b54f 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -137,7 +137,7 @@ Targ_Init(void)
*-----------------------------------------------------------------------
*/
GNode *
-Targ_NewGN(char *name)
+Targ_NewGN(const char *name)
{
GNode *gn;
@@ -183,7 +183,7 @@ Targ_NewGN(char *name)
*-----------------------------------------------------------------------
*/
GNode *
-Targ_FindNode(char *name, int flags)
+Targ_FindNode(const char *name, int flags)
{
GNode *gn; /* node in that element */
Hash_Entry *he; /* New or used hash entry for node */
OpenPOWER on IntegriCloud