diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-09-18 08:51:24 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-09-18 08:51:24 +0000 |
commit | d7ba354fdbdc039de42295578126aedf85dbd5bd (patch) | |
tree | 59318ba476f9de8b697d8146511b196a7a6a9f7a /usr.bin | |
parent | 9edd90e512b05cb45166b251e3a981c952cf4feb (diff) |
internal macro should be invisible from outside
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/targ.c | 4 | ||||
-rw-r--r-- | usr.bin/make/targ.h | 4 |
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 *); |