Bug 515 Conditional arguemnt to gw_write

This commit is contained in:
Mark Riddoch
2014-11-19 16:43:21 +00:00
parent 0e6fa09d7e
commit 43ed77b52b
3 changed files with 14 additions and 33 deletions

View File

@ -290,13 +290,7 @@ int fail_accept_errno;
#define DCB_POLL_BUSY(x) ((x)->evq.next != NULL)
DCB *dcb_get_zombies(void);
int gw_write(
#if defined(SS_DEBUG)
DCB* dcb,
#endif
int fd,
const void* buf,
size_t nbytes);
int gw_write(DCB *, const void *, size_t);
int dcb_write(DCB *, GWBUF *);
DCB *dcb_alloc(dcb_role_t);
void dcb_free(DCB *);