summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-09-01 16:44:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-09-01 16:44:26 +0000
commitda6bdbe199ec86fc686e94491f0f7cda3b918f95 (patch)
tree3e527f2061b9661d89441c83275c539bd8939c1a /usr.bin/make
parentaa6f08c73796ee74b6af8d22612f09302f43211a (diff)
put back out-of-line version of function.
even with only-inline, won't compile with -O0, so debugging is very difficult... discussed with jsg@
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/targ.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index e9220a781b0..6a2f61334ee 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: targ.c,v 1.64 2012/08/20 09:51:05 jsg Exp $ */
+/* $OpenBSD: targ.c,v 1.65 2012/09/01 16:44:25 espie Exp $ */
/* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */
/*
@@ -461,3 +461,9 @@ targets_hash()
{
return &targets;
}
+
+GNode *
+Targ_FindNodeh(const char *name, size_t n, uint32_t hv, int flags)
+{
+ return Targ_FindNodeih(name, name + n - 1, hv, flags);
+}