diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-05-22 11:16:48 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-05-22 11:16:48 +0000 |
commit | 59fd383a6ec90cfa6cde18ef186f667837983d24 (patch) | |
tree | a959268726d0ec786131dab80a41efc7390612c6 /usr.bin/make/str.c | |
parent | aef64f84a36d9aec129ca413d84681f7724c13dc (diff) | |
download | FreeBSD-src-59fd383a6ec90cfa6cde18ef186f667837983d24.zip FreeBSD-src-59fd383a6ec90cfa6cde18ef186f667837983d24.tar.gz |
Replace the evil that is __DECONST() with (void *). This is one of the least
evil things we can do involving the const qualifier and a pointer.
Submitted by: bde, ru
Diffstat (limited to 'usr.bin/make/str.c')
-rw-r--r-- | usr.bin/make/str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/str.c b/usr.bin/make/str.c index 097e312..1b14426 100644 --- a/usr.bin/make/str.c +++ b/usr.bin/make/str.c @@ -117,8 +117,8 @@ str_concat(s1, s2, flags) /* free original strings */ if (flags & STR_DOFREE) { - (void)efree(__DECONST(void *, s1)); - (void)efree(__DECONST(void *, s2)); + (void)efree((void *)s1); + (void)efree((void *)s2); } return(result); } |