Skip to content

Commit

Permalink
misc: optimize includes
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <[email protected]>
  • Loading branch information
hexian000 committed Jan 14, 2025
1 parent cbdbbdf commit a94b2d1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/api_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#ifndef API_CLIENT_H
#define API_CLIENT_H

#include <stdbool.h>
#include <stddef.h>

struct ev_loop;
Expand Down
2 changes: 1 addition & 1 deletion src/ruleset/await.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <ev.h>

#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <string.h>

#define MT_AWAIT_SLEEP "await.sleep"
#define MT_AWAIT_RESOLVE "await.resolve"
Expand Down
1 change: 0 additions & 1 deletion src/ruleset/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "lua.h"

#include <arpa/inet.h>
#include <ev.h>
#include <netinet/in.h>
#include <sys/socket.h>

Expand Down

0 comments on commit a94b2d1

Please sign in to comment.