refactor: remove unused include
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
ssize_t cws_read_data(int sockfd, string_s *str);
|
||||
|
||||
ssize_t cws_send_data(int sockfd, char *buffer, int len, int flags);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
#include "core/server.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/epoll.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "core/epoll_utils.h"
|
||||
#include "core/worker.h"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#include "core/worker.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/epoll.h>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "http/mime.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
#include "http/request.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <myclib/mystring.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "utils/debug.h"
|
||||
#include "utils/hash_utils.h"
|
||||
|
||||
Reference in New Issue
Block a user