diff --git a/canframelen.c b/canframelen.c index 6ce3c4d..b708691 100644 --- a/canframelen.c +++ b/canframelen.c @@ -44,7 +44,6 @@ * */ -#include "canframelen.h" #include #include #include @@ -52,6 +51,8 @@ #include #include +#include "canframelen.h" + /** * Functions and types for CRC checks. * diff --git a/cangen.c b/cangen.c index 3641986..d80cf56 100644 --- a/cangen.c +++ b/cangen.c @@ -61,10 +61,11 @@ #include #include -#include "lib.h" #include #include +#include "lib.h" + #define DEFAULT_GAP 200 /* ms */ #define DEFAULT_BURST_COUNT 1 diff --git a/isotpdump.c b/isotpdump.c index 416ede7..6869cc6 100644 --- a/isotpdump.c +++ b/isotpdump.c @@ -55,11 +55,12 @@ #include #include -#include "terminal.h" #include #include #include +#include "terminal.h" + #define NO_CAN_ID 0xFFFFFFFFU const char fc_info [4][9] = { "CTS", "WT", "OVFLW", "reserved" }; diff --git a/j1939cat.c b/j1939cat.c index e6f4205..c79e061 100644 --- a/j1939cat.c +++ b/j1939cat.c @@ -21,6 +21,7 @@ #include #include "libj1939.h" + #define J1939_MAX_ETP_PACKET_SIZE (7 * 0x00ffffff) #define JCAT_BUF_SIZE (1000 * 1024)