summaryrefslogtreecommitdiffhomepage
path: root/fuzz-wrapfd.h
diff options
context:
space:
mode:
authorFrançois Perrad <francois.perrad@gadz.org>2018-03-03 04:06:45 +0100
committerMatt Johnston <matt@ucc.asn.au>2018-03-03 11:06:45 +0800
commit257bba00ac1c1461b18ff1f5d420ec83fa13a368 (patch)
tree8156f6443adbd45eacfa1059c358baf6be0708ee /fuzz-wrapfd.h
parentce1f9cdf7c27bb877d8efd3048af6e5ea513d09a (diff)
some linting after fuzz merge (#60)
* fix prototype * remove extra comma * use m_free after m_strdup
Diffstat (limited to 'fuzz-wrapfd.h')
-rw-r--r--fuzz-wrapfd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz-wrapfd.h b/fuzz-wrapfd.h
index 04477b9..7aed43a 100644
--- a/fuzz-wrapfd.h
+++ b/fuzz-wrapfd.h
@@ -7,10 +7,10 @@ enum wrapfd_mode {
UNUSED = 0,
PLAIN,
INPROGRESS,
- RANDOMIN,
+ RANDOMIN
};
-void wrapfd_setup();
+void wrapfd_setup(void);
void wrapfd_setseed(uint32_t seed);
// doesn't take ownership of buf. buf is optional.
void wrapfd_add(int fd, buffer *buf, enum wrapfd_mode mode);