aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2005-02-02 07:36:18 +0000
committerHartmut Brandt <harti@FreeBSD.org>2005-02-02 07:36:18 +0000
commitab9e1eb0503a0131bb9a8d825c7af55320467352 (patch)
tree4825321dce7848eb1b15bd084d39df490dcc822d /usr.bin/make/parse.c
parent0fac1537a28308d780f8e0e30d56c0428f54510d (diff)
downloadsrc-ab9e1eb0503a0131bb9a8d825c7af55320467352.tar.gz
src-ab9e1eb0503a0131bb9a8d825c7af55320467352.zip
Convert several typedefs from beeing pointers to structs to be the structs
itself. This will ease constification (think of what 'const Ptr foo' means if Ptr is a pointer to a struct). Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes
Notes: svn path=/head/; revision=141133
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index dc1a455e1011..33c3018ebf67 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -2012,7 +2012,7 @@ ParseSkipLine(int skip, int keep_newline)
char *line;
int c, lastc;
size_t lineLength = 0;
- Buffer buf;
+ Buffer *buf;
buf = Buf_Init(MAKE_BSIZE);
@@ -2083,7 +2083,7 @@ ParseSkipLine(int skip, int keep_newline)
static char *
ParseReadLine(void)
{
- Buffer buf; /* Buffer for current line */
+ Buffer *buf; /* Buffer for current line */
int c; /* the current character */
int lastc; /* The most-recent character */
Boolean semiNL; /* treat semi-colons as newlines */