Browse Source

seas: remove double #include<>d headers

Дилян Палаузов 2 năm trước cách đây
mục cha
commit
c8b111ba1b
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. 2 4
      src/modules/seas/event_dispatcher.c

+ 2 - 4
src/modules/seas/event_dispatcher.c

@@ -19,17 +19,15 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <sys/types.h>/*setsockopt,bind,accept,fork,pid_t*/
+#include <sys/types.h>/*setsockopt,bind,accept,fork,pid_t,waitpid*/
 #include <sys/socket.h>/*setsockopt,bind,accept,listen*/
 #include <netinet/tcp.h>/*TCP_NODELAY*/
-#include <string.h>/*strcmp,memset*/
+#include <string.h>/*strcmp,memset,memcmp*/
 #include <errno.h>/*errno*/
 #include <unistd.h>/*close(),read(),pipe,fork,pid_t*/
 #include <poll.h>/*poll*/
 #include <signal.h>/*signal*/
 #include <time.h>/*time*/
-#include <string.h>/*memcmp*/
-#include <sys/types.h>/*waitpid*/
 #include <sys/wait.h>/*waitpid*/
 
 #include "../../core/ip_addr.h" /*sockaddr_union, ip_addr*/