comparison fuzz-wrapfd.c @ 1382:4b864fd12b22 fuzz

fix building with DEBUG_TRACE
author Matt Johnston <matt@ucc.asn.au>
date Fri, 26 May 2017 22:09:30 +0800
parents d4cc85e6c569
children b9e4fd5a0e72
comparison
equal deleted inserted replaced
1381:c98e242dc505 1382:4b864fd12b22
25 static int wrap_used[IOWRAP_MAXFD+1]; 25 static int wrap_used[IOWRAP_MAXFD+1];
26 static unsigned int nused; 26 static unsigned int nused;
27 static unsigned short rand_state[3]; 27 static unsigned short rand_state[3];
28 28
29 void wrapfd_setup() { 29 void wrapfd_setup() {
30 TRACE(("wrapfd_setup %x", seed)) 30 TRACE(("wrapfd_setup"))
31 nused = 0; 31 nused = 0;
32 memset(wrap_fds, 0x0, sizeof(wrap_fds)); 32 memset(wrap_fds, 0x0, sizeof(wrap_fds));
33 memset(wrap_used, 0x0, sizeof(wrap_used)); 33 memset(wrap_used, 0x0, sizeof(wrap_used));
34 34
35 memset(rand_state, 0x0, sizeof(rand_state)); 35 memset(rand_state, 0x0, sizeof(rand_state));