summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/buf.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-02-07 11:27:47 +0000
committerharti <harti@FreeBSD.org>2005-02-07 11:27:47 +0000
commit4dd5217a47d01a7b9f07ad11f31ba806c42dd690 (patch)
tree8d3e420e3ee021620eeb19049420c02d159537a6 /usr.bin/make/buf.h
parent1a1fea70ded14847d274b940d4dd60cfe23faeb6 (diff)
downloadFreeBSD-src-4dd5217a47d01a7b9f07ad11f31ba806c42dd690.zip
FreeBSD-src-4dd5217a47d01a7b9f07ad11f31ba806c42dd690.tar.gz
Introduce Buf_StripNewLines() and use it where appropriate.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/buf.h')
-rw-r--r--usr.bin/make/buf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h
index bc669ed..6b7ea49 100644
--- a/usr.bin/make/buf.h
+++ b/usr.bin/make/buf.h
@@ -85,5 +85,6 @@ void Buf_ReplaceLastByte(Buffer *, Byte);
void Buf_Append(Buffer *, const char []);
void Buf_AppendRange(Buffer *, const char [], const char *);
+void Buf_StripNewlines(Buffer *);
#endif /* buf_h_a61a6812 */
OpenPOWER on IntegriCloud