summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-03-22 08:00:02 +0000
committerharti <harti@FreeBSD.org>2005-03-22 08:00:02 +0000
commit22e9de609b0253c575db6f715fa45ce77d5a34c4 (patch)
treebd10171c4a8c91170489007fc111e3f9ac33d60e /usr.bin/make/var.h
parent9438de8315fd5e14c29ea56dadb5b67e805c22f1 (diff)
downloadFreeBSD-src-22e9de609b0253c575db6f715fa45ce77d5a34c4.zip
FreeBSD-src-22e9de609b0253c575db6f715fa45ce77d5a34c4.tar.gz
Fix indentation.
Patch: 7.154 (partly) Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/var.h')
-rw-r--r--usr.bin/make/var.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/usr.bin/make/var.h b/usr.bin/make/var.h
index 8a1ab85..06fdb19 100644
--- a/usr.bin/make/var.h
+++ b/usr.bin/make/var.h
@@ -50,9 +50,9 @@ struct GNode;
struct Buffer;
typedef struct Var {
- char *name; /* the variable's name */
- struct Buffer *val; /* its value */
- int flags; /* miscellaneous status flags */
+ char *name; /* the variable's name */
+ struct Buffer *val; /* its value */
+ int flags; /* miscellaneous status flags */
#define VAR_IN_USE 1 /* Variable's value currently being used.
* Used to avoid recursion */
@@ -73,19 +73,19 @@ typedef struct Var {
#define VAR_MATCH_END 0x10 /* Match at end of word */
typedef struct {
- char *lhs; /* String to match */
- size_t leftLen; /* Length of string */
- char *rhs; /* Replacement string (w/ &'s removed) */
- size_t rightLen; /* Length of replacement */
- int flags;
+ char *lhs; /* String to match */
+ size_t leftLen; /* Length of string */
+ char *rhs; /* Replacement string (w/ &'s removed) */
+ size_t rightLen; /* Length of replacement */
+ int flags;
} VarPattern;
typedef struct {
- regex_t re;
- int nsub;
- regmatch_t *matches;
- char *replace;
- int flags;
+ regex_t re;
+ int nsub;
+ regmatch_t *matches;
+ char *replace;
+ int flags;
} VarREPattern;
typedef Boolean VarModifyProc(const char *, Boolean, struct Buffer *, void *);
OpenPOWER on IntegriCloud