summaryrefslogtreecommitdiff
path: root/contrib/cvs/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cvs/src/buffer.h')
-rw-r--r--contrib/cvs/src/buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/cvs/src/buffer.h b/contrib/cvs/src/buffer.h
index 0556781d0c8c2..ebf1b7ae8b268 100644
--- a/contrib/cvs/src/buffer.h
+++ b/contrib/cvs/src/buffer.h
@@ -61,7 +61,7 @@ struct buffer
appropriate should be done at this point. This may be NULL.
It should return 0 on success, or an errno code. This entry
point exists for the compression code. */
- int (*shutdown) PROTO((void *closure));
+ int (*shutdown) PROTO((struct buffer *));
/* This field is passed to the INPUT, OUTPUT, and BLOCK functions. */
void *closure;
@@ -105,13 +105,13 @@ extern struct buffer *buf_initialize PROTO((int (*) (void *, char *, int,
int, int *),
int (*) (void *),
int (*) (void *, int),
- int (*) (void *),
+ int (*) (struct buffer *),
void (*) (struct buffer *),
void *));
extern void buf_free PROTO((struct buffer *));
extern struct buffer *buf_nonio_initialize PROTO((void (*) (struct buffer *)));
extern struct buffer *stdio_buffer_initialize
- PROTO((FILE *, int, void (*) (struct buffer *)));
+ PROTO((FILE *, int, int, void (*) (struct buffer *)));
extern struct buffer *compress_buffer_initialize
PROTO((struct buffer *, int, int, void (*) (struct buffer *)));
extern struct buffer *packetizing_buffer_initialize