Mercurial > dropbear
diff fuzz-wrapfd.h @ 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 | d4cc85e6c569 |
children | dfbe947bdf0d |
line wrap: on
line diff
--- a/fuzz-wrapfd.h Fri Mar 02 00:11:27 2018 +0800 +++ b/fuzz-wrapfd.h Sat Mar 03 04:06:45 2018 +0100 @@ -7,10 +7,10 @@ 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);