diff options
author | des <des@FreeBSD.org> | 2001-12-04 01:23:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-12-04 01:23:02 +0000 |
commit | 536f2aee59848374a716058e0fec20ed83e3896d (patch) | |
tree | 73da5d31217dcbf5f1a4f51301e1e520ee75c505 | |
parent | ff6a5a5c2880cab3d9e886346b03ec81449dceb8 (diff) | |
download | FreeBSD-src-536f2aee59848374a716058e0fec20ed83e3896d.zip FreeBSD-src-536f2aee59848374a716058e0fec20ed83e3896d.tar.gz |
Reduce namespace pollution by removing argument names from prototypes.
-rw-r--r-- | sys/sys/sbuf.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sys/sys/sbuf.h b/sys/sys/sbuf.h index 995e745..7f50cf3 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 |