diff options
Diffstat (limited to 'usr.bin/make/buf.h')
-rw-r--r-- | usr.bin/make/buf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h index 980d15a9546..4806b434b51 100644 --- a/usr.bin/make/buf.h +++ b/usr.bin/make/buf.h @@ -1,7 +1,7 @@ #ifndef _BUF_H #define _BUF_H -/* $OpenBSD: buf.h,v 1.19 2010/07/19 19:46:43 espie Exp $ */ +/* $OpenBSD: buf.h,v 1.20 2012/09/21 07:55:20 espie Exp $ */ /* $NetBSD: buf.h,v 1.7 1996/12/31 17:53:22 christos Exp $ */ /* @@ -133,4 +133,7 @@ do { \ * Removes non-backslashed spaces at the end of a buffer. */ extern void Buf_KillTrailingSpaces(Buffer); +extern void Buf_printf(Buffer, const char *, ...); +#define Buf_puts(b, s) Buf_AddChars((b), strlen(s), (s)) + #endif /* _BUF_H */ |