summaryrefslogtreecommitdiff
path: root/usr.sbin/config/mkmakefile.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-11-28 19:26:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-11-28 19:26:04 +0000
commit3401a7779d41e9ec5b75640de44fd2872b30d820 (patch)
treedf4480283c5146a36615498c3109e68abf4347a2 /usr.sbin/config/mkmakefile.c
parent0923394ce6ba91588c5d51899cd2b4c7c9564d1a (diff)
remove sys/param.h includes by stopping use of NODEV, ALIGNED and ALIGN().
The latter two exposed a large block allocator on top of malloc() which doesn't really make sense in this decade (the objects are never freed, so not quite like the famous openssl allocator) ok millert jsg
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
-rw-r--r--usr.sbin/config/mkmakefile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c
index 47e26257e15..f98d34dff41 100644
--- a/usr.sbin/config/mkmakefile.c
+++ b/usr.sbin/config/mkmakefile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkmakefile.c,v 1.47 2019/06/28 13:33:55 deraadt Exp $ */
+/* $OpenBSD: mkmakefile.c,v 1.48 2021/11/28 19:26:03 deraadt Exp $ */
/* $NetBSD: mkmakefile.c,v 1.34 1997/02/02 21:12:36 thorpej Exp $ */
/*
@@ -211,7 +211,6 @@ srcpath(struct files *fi)
expand = expandname(nv->nv_name);
source = sourcepath(expand ? expand : nv->nv_name);
if (access(source, R_OK) == 0) {
- /* XXX poolalloc() prevents freeing old nv_name */
if (expand)
nv->nv_name = intern(expand);
break;