(ioq_makebuf, ioq_makeiov) [_WIN32]: Remove the external for

ioq_makeiov() for WIN32 case so it matches source for the
ioq_makeiov().  Reorganize ioq_makebuf() to make it obvious that
ioq_makebuf() is used for WIN32 and everybody uses ioq_makeiov().
This commit is contained in:
Ron Koenderink 2006-01-01 20:02:09 +00:00
parent ce4190caf7
commit 8f3f239839

View file

@ -51,7 +51,11 @@ struct ioqueue {
extern struct ioqueue *ioq_create(int size);
extern void ioq_destroy(struct ioqueue *ioq);
extern void ioq_drain(struct ioqueue *ioq);
#if defined (_WIN32)
extern int ioq_makebuf(struct ioqueue *ioq, char *pBuf, int nBufLen);
#else
extern int ioq_makeiov(struct ioqueue *ioq, struct iovec *iov, int cc);
#endif
extern int ioq_peek(struct ioqueue *ioq, s_char *buf, int cc);
extern int ioq_dequeue(struct ioqueue *ioq, int cc);
extern void ioq_append(struct ioqueue *ioq, s_char *buf, int cc);
@ -59,8 +63,4 @@ extern int ioq_qsize(struct ioqueue *ioq);
extern int ioq_gets(struct ioqueue *ioq, s_char *buf, int cc);
extern int ioq_puts(struct ioqueue *ioq, s_char *buf);
#if defined (_WIN32)
extern int ioq_makebuf(struct ioqueue *ioq, char *pBuf, int nBufLen);
#endif
#endif