[mw-devel] [Git][arthur/mw][master] Include <string.h> for memset in poll-epoll.c
Andrew Price
welshbyte at sucs.org
Mon Jul 31 12:14:57 BST 2017
Andrew Price pushed to branch master at Justin Mitchell / mw
Commits:
837815a0 by Andrew Price at 2017-07-31T12:14:10+01:00
Include <string.h> for memset in poll-epoll.c
poll-epoll.c:20:2: error: implicit declaration of function ‘memset’ [-Werror=implicit-function-declaration]
memset(&ev, 0, sizeof(ev));
- - - - -
1 changed file:
- src/server/poll-epoll.c
Changes:
=====================================
src/server/poll-epoll.c
=====================================
--- a/src/server/poll-epoll.c
+++ b/src/server/poll-epoll.c
@@ -1,5 +1,5 @@
#include <sys/epoll.h>
-#include <strings.h>
+#include <string.h>
#include <socket.h>
#include "poll.h"
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/837815a04a9813cbdb0d8e2356e1e15dea027324
---
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/837815a04a9813cbdb0d8e2356e1e15dea027324
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20170731/a263c45c/attachment.html>
More information about the mw-devel
mailing list