diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2022-06-09 13:13:15 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2022-06-09 13:13:15 +0000 |
commit | cf87a36bfdf84f7de71688dbd52031e7ede89fe7 (patch) | |
tree | 6c63ba072972df6c89b063aa645a0dd6095154cb /usr.bin/make/var.c | |
parent | e48ab8ff0640cf3bfb053c5ba5c1344856cd4647 (diff) |
point developers to the other place where the remaining flags values are
defined (nice gotcha when you come back to the code after a few months).
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r-- | usr.bin/make/var.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 1408926360c..906f8855c09 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -1,4 +1,4 @@ -/* $OpenBSD: var.c,v 1.103 2019/12/22 09:26:23 espie Exp $ */ +/* $OpenBSD: var.c,v 1.104 2022/06/09 13:13:14 espie Exp $ */ /* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */ /* @@ -222,7 +222,10 @@ typedef struct Var_ { #define VAR_FROM_ENV 8 /* Special source: environment */ #define VAR_SEEN_ENV 16 /* No need to go look up environment again */ #define VAR_IS_SHELL 32 /* Magic behavior */ - +/* XXX there are also some flag values which are part of the visible API + * and thus defined inside var.h, don't forget to look there if you want + * to define some new flags ! + */ #define POISONS (POISON_NORMAL | POISON_EMPTY | POISON_NOT_DEFINED) /* Defined in var.h */ char name[1]; /* the variable's name */ |