diff options
author | harti <harti@FreeBSD.org> | 2005-05-24 16:05:51 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-24 16:05:51 +0000 |
commit | dd5f450e83a2cf110049be4a3dec342b25032631 (patch) | |
tree | 7377d4a139d673efd4f875e108415e496df43d39 /usr.bin/make/main.c | |
parent | 79613308dce9cef12aa10cea972360bae9c444f3 (diff) | |
download | FreeBSD-src-dd5f450e83a2cf110049be4a3dec342b25032631.zip FreeBSD-src-dd5f450e83a2cf110049be4a3dec342b25032631.tar.gz |
The caller of Var_Value() should not change the variable value. Make
this clear by constifying the return value.
Obtained from: DragonFlyBSD
Diffstat (limited to 'usr.bin/make/main.c')
-rw-r--r-- | usr.bin/make/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 70b8484..aeed734 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -663,7 +663,7 @@ main(int argc, char **argv) const char *machine_arch; const char *machine_cpu; Boolean outOfDate = TRUE; /* FALSE if all targets up to date */ - char *p; + const char *p; const char *pathp; const char *path; char mdpath[MAXPATHLEN]; |