remove buffer_init argument warning when passing read or write

master
Felix von Leitner 20 years ago
parent 79f045f92c
commit ae10628ce7
  1. 2
      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);

Loading…
Cancel
Save