]> git.pond.sub.org Git - empserver/blobdiff - include/ioqueue.h
Change ioq_dequeue() to return void
[empserver] / include / ioqueue.h
index 0f17be67460b9f86ca0c945272f804774bf4f6e5..38fd5917879b94b39089ef67323fd6aec5df21da 100644 (file)
@@ -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 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);
 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);