From e8d842791b5562c321c832943781b4b5a7714353 Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 28 Sep 2002 00:14:11 +0000 Subject: [PATCH] remove buffer_init argument warning when passing read or write --- buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer.h b/buffer.h index c72d009..8383a47 100644 --- a/buffer.h +++ b/buffer.h @@ -15,7 +15,7 @@ typedef struct buffer { #define BUFFER_INSIZE 8192 #define BUFFER_OUTSIZE 8192 -extern void buffer_init(buffer* b,int (*op)(int,char*,unsigned int),int fd,char* y,unsigned int ylen); +extern void buffer_init(buffer* b,int (*op)(),int fd,char* y,unsigned int ylen); extern int buffer_flush(buffer* b); extern int buffer_put(buffer* b,const char* x,unsigned int len);