diff options
author | sabetts <sabetts> | 2001-12-21 11:58:56 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-12-21 11:58:56 +0000 |
commit | b411861a7c307f2f2e520f7c9d51958fc003f0df (patch) | |
tree | e73d98b5877d39754260ed163242935ffba76951 /src/sbuf.h | |
parent | 8337770d09d8041ba4c6b676d1fbb5bc7fd6c6a2 (diff) | |
download | ratpoison-b411861a7c307f2f2e520f7c9d51958fc003f0df.zip |
* src/sbuf.h (sbuf_printf_concat): new prototype
(sbuf_printf): likewise
* src/sbuf.c (sbuf_printf_concat): new function
(sbuf_printf): likewise
* src/ratpoison.h: include stdarg.h
(xvsprintf): new prototype
(xsprintf): likewise
* src/main.c (xvsprintf): new function
(xsprintf): likewise
* src/bar.c: remove include of stdarg.h
(marked_message_printf): call xvsprintf.
Diffstat (limited to 'src/sbuf.h')
-rw-r--r-- | src/sbuf.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,5 +38,7 @@ char *sbuf_concat (struct sbuf *b, const char *str); char *sbuf_copy (struct sbuf *b, const char *str); char *sbuf_clear (struct sbuf *b); char *sbuf_get (struct sbuf *b); +char *sbuf_printf (struct sbuf *b, char *fmt, ...); +char *sbuf_printf_concat (struct sbuf *b, char *fmt, ...); #endif /* ! _RATPOISON_SBUF_H */ |