Skip to content

Commit

Permalink
Remove unneeded includes
Browse files Browse the repository at this point in the history
Summary: SSIA

Reviewed By: yurinnick

Differential Revision: D59600392

fbshipit-source-id: ca56140bb09aa953246901fcf7346e34befa2499
  • Loading branch information
Dave Jones authored and facebook-github-bot committed Jul 10, 2024
1 parent 68c5808 commit 5e64346
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 23 deletions.
4 changes: 0 additions & 4 deletions listener.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@

#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>

#include "include/common.h"
Expand Down
2 changes: 0 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@

#include <stdlib.h>
#include <signal.h>
#include <dlfcn.h>
#include <arpa/inet.h>
#include <getopt.h>

#include "include/common.h"
#include "include/output.h"
#include "include/threads.h"
#include "include/listener.h"

static void parse_arguments(int argc, char **argv, struct netconsd_params *p)
{
Expand Down
5 changes: 0 additions & 5 deletions ncrx/libncrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/udp.h>

#include "ncrx.h"

Expand Down
3 changes: 0 additions & 3 deletions ncrx/nctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <poll.h>
#include <ctype.h>
#include <errno.h>
#include <arpa/inet.h>
#include <sys/socket.h>
Expand Down
3 changes: 0 additions & 3 deletions output.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
* LICENSE file in the root directory of this source tree.
*/

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <pthread.h>
#include <dlfcn.h>
#include <sys/socket.h>
#include <netinet/in.h>

#include <ncrx.h>
Expand Down
2 changes: 0 additions & 2 deletions threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <inttypes.h>
#include <signal.h>
#include <pthread.h>
#include <unistd.h>
#include <sys/socket.h>

#include "include/common.h"
#include "include/msgbuf-struct.h"
Expand Down
3 changes: 0 additions & 3 deletions util/netconsblaster.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
*/

#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <pthread.h>
#include <unistd.h>
#include <getopt.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <arpa/inet.h>
Expand Down
1 change: 0 additions & 1 deletion worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <pthread.h>
#include <string.h>
#include <limits.h>
#include <sys/socket.h>
#include <netinet/in.h>

#include <ncrx.h>
Expand Down

0 comments on commit 5e64346

Please sign in to comment.