X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=include%2Fioqueue.h;h=38fd5917879b94b39089ef67323fd6aec5df21da;hp=0f17be67460b9f86ca0c945272f804774bf4f6e5;hb=13d236a1e0085ae1d6cbe080b61bf286e710b8b8;hpb=2bb8923c6f95567c75ccd7537321714e0eca6b0b diff --git a/include/ioqueue.h b/include/ioqueue.h index 0f17be674..38fd59178 100644 --- a/include/ioqueue.h +++ b/include/ioqueue.h @@ -43,7 +43,7 @@ extern void ioq_destroy(struct ioqueue *ioq); extern void ioq_drain(struct ioqueue *ioq); extern int ioq_makeiov(struct ioqueue *ioq, struct iovec *iov, int cc); extern int ioq_peek(struct ioqueue *ioq, char *buf, int cc); -extern int ioq_dequeue(struct ioqueue *ioq, int cc); +extern void ioq_dequeue(struct ioqueue *ioq, int cc); extern void ioq_append(struct ioqueue *ioq, char *buf, int cc); extern int ioq_qsize(struct ioqueue *ioq); extern int ioq_gets(struct ioqueue *ioq, char *buf, int cc);