diff options
author | harti <harti@FreeBSD.org> | 2005-02-02 07:36:18 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-02 07:36:18 +0000 |
commit | e55f5e8b6f4c9cf6b01f539144a14d2f9680e575 (patch) | |
tree | 4825321dce7848eb1b15bd084d39df490dcc822d /usr.bin/make/str.h | |
parent | 4130080e12ab49a659e616322a16e9db22726595 (diff) | |
download | FreeBSD-src-e55f5e8b6f4c9cf6b01f539144a14d2f9680e575.zip FreeBSD-src-e55f5e8b6f4c9cf6b01f539144a14d2f9680e575.tar.gz |
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>
Diffstat (limited to 'usr.bin/make/str.h')
-rw-r--r-- | usr.bin/make/str.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/str.h b/usr.bin/make/str.h index d7d2ae0..c528f60 100644 --- a/usr.bin/make/str.h +++ b/usr.bin/make/str.h @@ -41,9 +41,10 @@ #ifndef str_h_44db59e6 #define str_h_44db59e6 -#include "buf.h" #include "sprite.h" +struct Buffer; + /* * These constants are all used by the Str_Concat function to decide how the * final string should look. If STR_ADDSPACE is given, a space will be @@ -61,6 +62,6 @@ char *MAKEFLAGS_quote(const char *); char **MAKEFLAGS_break(const char *, int *); int Str_Match(const char *, const char *); const char *Str_SYSVMatch(const char *, const char *, int *); -void Str_SYSVSubst(Buffer, const char *, const char *, int); +void Str_SYSVSubst(struct Buffer *, const char *, const char *, int); #endif /* str_h_44db59e6 */ |