summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2007-09-18 08:51:23 +0000
committerespie <espie@openbsd.org>2007-09-18 08:51:23 +0000
commit00d5fcf5d744ede38e1ed78c9d858a0c13faf8b4 (patch)
tree94ead23c2d751c139ddda6d18000ce7ce772dfd4
parentreindent a few lines in parse.c which are missing it. (diff)
downloadwireguard-openbsd-00d5fcf5d744ede38e1ed78c9d858a0c13faf8b4.tar.xz
wireguard-openbsd-00d5fcf5d744ede38e1ed78c9d858a0c13faf8b4.zip
internal macro should be invisible from outside
-rw-r--r--usr.bin/make/targ.c4
-rw-r--r--usr.bin/make/targ.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index ae989f3b622..fdc86106f3c 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: targ.c,v 1.47 2007/09/17 14:05:34 espie Exp $ */
+/* $OpenBSD: targ.c,v 1.48 2007/09/18 08:51:23 espie Exp $ */
/* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */
/*
@@ -133,6 +133,8 @@ static void TargPrintNode(GNode *, int);
static LIST allTargets;
static void TargFreeGN(void *);
#endif
+#define Targ_FindConstantNode(n, f) Targ_FindNodeh(n, sizeof(n), K_##n, f)
+
GNode *begin_node, *end_node, *interrupt_node, *DEFAULT;
diff --git a/usr.bin/make/targ.h b/usr.bin/make/targ.h
index 312f2d69939..db9080165f1 100644
--- a/usr.bin/make/targ.h
+++ b/usr.bin/make/targ.h
@@ -1,7 +1,7 @@
#ifndef TARG_H
#define TARG_H
/* $OpenPackages$ */
-/* $OpenBSD: targ.h,v 1.3 2007/09/17 12:42:09 espie Exp $ */
+/* $OpenBSD: targ.h,v 1.4 2007/09/18 08:51:23 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -64,8 +64,6 @@ Targ_FindNodeh(const char *name, size_t n, uint32_t hv, int flags)
{
return Targ_FindNodeih(name, name + n - 1, hv, flags);
}
-#define Targ_FindConstantNode(n, f) Targ_FindNodeh(n, sizeof(n), K_##n, f)
-
extern void Targ_FindList(Lst, Lst);
extern bool Targ_Ignore(GNode *);
extern bool Targ_Silent(GNode *);