aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sbuf.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-07-09 11:35:30 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-07-09 11:35:30 +0000
commitd751f0a93513416334158d9de5ff0e4f990362c9 (patch)
treec38c9ee2985b996ebe39725d57fd9cf5596b3943 /sys/sys/sbuf.h
parent077a0fb8b68fb3e586f9856c34c915627df0e9ae (diff)
downloadsrc-d751f0a93513416334158d9de5ff0e4f990362c9.tar.gz
src-d751f0a93513416334158d9de5ff0e4f990362c9.zip
Have sbuf_bcat() and sbuf_bcpy() take a const void * instead of a
const char *, since callers are likely to pass in pointers to all kinds of structs and whatnot.
Notes
Notes: svn path=/head/; revision=131868
Diffstat (limited to 'sys/sys/sbuf.h')
-rw-r--r--sys/sys/sbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/sbuf.h b/sys/sys/sbuf.h
index 606c1ca91fee..0c1e6e1e0cf8 100644
--- a/sys/sys/sbuf.h
+++ b/sys/sys/sbuf.h
@@ -58,8 +58,8 @@ __BEGIN_DECLS
struct sbuf *sbuf_new(struct sbuf *, char *, int, int);
void sbuf_clear(struct sbuf *);
int sbuf_setpos(struct sbuf *, int);
-int sbuf_bcat(struct sbuf *, const char *, size_t);
-int sbuf_bcpy(struct sbuf *, const char *, size_t);
+int sbuf_bcat(struct sbuf *, const void *, size_t);
+int sbuf_bcpy(struct sbuf *, const void *, size_t);
int sbuf_cat(struct sbuf *, const char *);
int sbuf_cpy(struct sbuf *, const char *);
int sbuf_printf(struct sbuf *, const char *, ...) __printflike(2, 3);