summaryrefslogtreecommitdiff
path: root/usr.bin/make/make_malloc.h
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-08-29 16:47:45 +0000
committerrillig <rillig@NetBSD.org>2020-08-29 16:47:45 +0000
commitc31d73982933c6fc55ca72b1073368f8ed12c679 (patch)
treef9aad17e5a7dfcfbc21cb985dbf9bcb173d281e4 /usr.bin/make/make_malloc.h
parent0686a71ee7f6aa3589f7d968ec5702bcb8a78cf6 (diff)
make(1): fix build with -DUSE_EMALLOC
Diffstat (limited to 'usr.bin/make/make_malloc.h')
-rw-r--r--usr.bin/make/make_malloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/make_malloc.h b/usr.bin/make/make_malloc.h
index 53585d5def8..ac804d79c71 100644
--- a/usr.bin/make/make_malloc.h
+++ b/usr.bin/make/make_malloc.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make_malloc.h,v 1.9 2020/08/29 11:24:54 rillig Exp $ */
+/* $NetBSD: make_malloc.h,v 1.10 2020/08/29 16:47:45 rillig Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,6 @@ void *bmake_malloc(size_t);
void *bmake_realloc(void *, size_t);
char *bmake_strdup(const char *);
char *bmake_strldup(const char *, size_t);
-char *bmake_strsedup(const char *, const char *);
#else
#include <util.h>
#define bmake_malloc(x) emalloc(x)
@@ -39,6 +38,7 @@ char *bmake_strsedup(const char *, const char *);
#define bmake_strdup(x) estrdup(x)
#define bmake_strldup(x,y) estrndup(x,y)
#endif
+char *bmake_strsedup(const char *, const char *);
/* Thin wrapper around free(3) to avoid the extra function call in case
* p is NULL, which on x86_64 costs about 12 machine instructions.