aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/sbuf.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2001-12-04 01:23:02 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2001-12-04 01:23:02 +0000
commit0ed55f1f2aed32a6c962ee97bb2622d48217f508 (patch)
tree73da5d31217dcbf5f1a4f51301e1e520ee75c505 /sys/sys/sbuf.h
parent6598654546f99b102711561e6ae9cefd5977ee3f (diff)
downloadsrc-0ed55f1f2aed32a6c962ee97bb2622d48217f508.tar.gz
src-0ed55f1f2aed32a6c962ee97bb2622d48217f508.zip
Reduce namespace pollution by removing argument names from prototypes.
Notes
Notes: svn path=/head/; revision=87318
Diffstat (limited to 'sys/sys/sbuf.h')
-rw-r--r--sys/sys/sbuf.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/sys/sys/sbuf.h b/sys/sys/sbuf.h
index 995e7450da8c..7f50cf3911e9 100644
--- a/sys/sys/sbuf.h
+++ b/sys/sys/sbuf.h
@@ -51,27 +51,27 @@ __BEGIN_DECLS
/*
* API functions
*/
-struct sbuf *sbuf_new(struct sbuf *s, char *buf, int length, int flags);
-void sbuf_clear(struct sbuf *s);
-int sbuf_setpos(struct sbuf *s, int pos);
-int sbuf_bcat(struct sbuf *s, const char *str, size_t len);
-int sbuf_bcpy(struct sbuf *s, const char *str, size_t len);
-int sbuf_cat(struct sbuf *s, const char *str);
-int sbuf_cpy(struct sbuf *s, const char *str);
-int sbuf_printf(struct sbuf *s, const char *fmt, ...) __printflike(2, 3);
-int sbuf_putc(struct sbuf *s, int c);
-int sbuf_trim(struct sbuf *s);
-int sbuf_overflowed(struct sbuf *s);
-void sbuf_finish(struct sbuf *s);
-char *sbuf_data(struct sbuf *s);
-int sbuf_len(struct sbuf *s);
-void sbuf_delete(struct sbuf *s);
+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_cat(struct sbuf *, const char *);
+int sbuf_cpy(struct sbuf *, const char *);
+int sbuf_printf(struct sbuf *, const char *, ...) __printflike(2, 3);
+int sbuf_putc(struct sbuf *, int);
+int sbuf_trim(struct sbuf *);
+int sbuf_overflowed(struct sbuf *);
+void sbuf_finish(struct sbuf *);
+char *sbuf_data(struct sbuf *);
+int sbuf_len(struct sbuf *);
+void sbuf_delete(struct sbuf *);
#ifdef _KERNEL
struct uio;
-struct sbuf *sbuf_uionew(struct sbuf *s, struct uio *uio, int *error);
-int sbuf_bcopyin(struct sbuf *s, const void *uaddr, size_t len);
-int sbuf_copyin(struct sbuf *s, const void *uaddr, size_t len);
+struct sbuf *sbuf_uionew(struct sbuf *, struct uio *, int *);
+int sbuf_bcopyin(struct sbuf *, const void *, size_t);
+int sbuf_copyin(struct sbuf *, const void *, size_t);
#endif
__END_DECLS