Get rid of "s_char", "register" and 0 used instead of NULL in the
client source. No functional changes.
This commit is contained in:
parent
3e7d57a8c9
commit
6a99690e4e
14 changed files with 117 additions and 126 deletions
|
@ -44,14 +44,14 @@ struct io {
|
|||
struct qelem queue; /* list of ioqueue elements */
|
||||
int nbytes; /* number of data bytes present */
|
||||
int offset; /* offset into current entry */
|
||||
s_char *data; /* pointer to start */
|
||||
char *data; /* pointer to start */
|
||||
};
|
||||
|
||||
void ioq_init(struct ioqueue *ioq, int bsize);
|
||||
int ioq_peek(struct ioqueue *ioq, s_char *buf, int cc);
|
||||
int ioq_peek(struct ioqueue *ioq, char *buf, int cc);
|
||||
int ioq_dequeue(struct ioqueue *ioq, int cc);
|
||||
int ioq_read(struct ioqueue *ioq, s_char *buf, int cc);
|
||||
void ioq_write(struct ioqueue *ioq, s_char *buf, int cc);
|
||||
int ioq_read(struct ioqueue *ioq, char *buf, int cc);
|
||||
void ioq_write(struct ioqueue *ioq, char *buf, int cc);
|
||||
int ioq_qsize(struct ioqueue *ioq);
|
||||
void ioq_drain(struct ioqueue *ioq);
|
||||
s_char *ioq_gets(struct ioqueue *ioq, s_char *buf, int cc);
|
||||
char *ioq_gets(struct ioqueue *ioq, char *buf, int cc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue