Skip to content

Commit

Permalink
Remove unnecessary includes
Browse files Browse the repository at this point in the history
  • Loading branch information
faisal-shah committed Nov 28, 2023
1 parent b07ca79 commit cdddd1e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion state_bcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <sys/uio.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <syslog.h>

Expand Down
1 change: 0 additions & 1 deletion state_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <sys/uio.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>

void state_control() {
Expand Down
3 changes: 1 addition & 2 deletions state_isotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <sys/uio.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <syslog.h>

Expand Down Expand Up @@ -138,7 +137,7 @@ void state_isotp() {
state = STATE_SHUTDOWN;
return;
}

/* ok we made it and have a proper isotp socket open */
previous_state = STATE_ISOTP;
}
Expand Down
1 change: 0 additions & 1 deletion state_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <sys/uio.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <syslog.h>

Expand Down
2 changes: 0 additions & 2 deletions statistics.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include <pthread.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>

#include "socketcand.h"

Expand Down

0 comments on commit cdddd1e

Please sign in to comment.