comparison fuzz-wrapfd.c @ 1575:e75dab5bec71

some linting after fuzz merge (#60) * fix prototype * remove extra comma * use m_free after m_strdup
author François Perrad <francois.perrad@gadz.org>
date Sat, 03 Mar 2018 04:06:45 +0100
parents 92c93b4a3646
children b579ec254988
comparison
equal deleted inserted replaced
1572:56ec2214144f 1575:e75dab5bec71
24 /* for quick selection of in-use descriptors */ 24 /* for quick selection of in-use descriptors */
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(void) {
30 TRACE(("wrapfd_setup")) 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