From a2f30332ccb8f0d87dc7750d4f081d44fd771f7f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jan 2021 19:44:16 -0800 Subject: Sorting imports --- bp.c | 6 +++--- definitions.c | 4 ++-- files.c | 1 + match.c | 2 +- print.c | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/bp.c b/bp.c index 4a80aef..1dfc4e7 100644 --- a/bp.c +++ b/bp.c @@ -12,13 +12,13 @@ #include #include -#include "pattern.h" -#include "files.h" #include "definitions.h" +#include "files.h" #include "json.h" +#include "match.h" +#include "pattern.h" #include "print.h" #include "utils.h" -#include "match.h" #ifndef BP_NAME #define BP_NAME "bp" diff --git a/definitions.c b/definitions.c index b2c777d..7ce8ba6 100644 --- a/definitions.c +++ b/definitions.c @@ -5,9 +5,9 @@ #include #include -#include "pattern.h" -#include "files.h" #include "definitions.h" +#include "files.h" +#include "pattern.h" #include "utils.h" // diff --git a/files.c b/files.c index e4ca380..9e38c57 100644 --- a/files.c +++ b/files.c @@ -13,6 +13,7 @@ #include #include "files.h" +#include "pattern.h" #include "utils.h" __attribute__((nonnull)) diff --git a/match.c b/match.c index 5b99bce..a2d3cf1 100644 --- a/match.c +++ b/match.c @@ -8,9 +8,9 @@ #include #include "definitions.h" +#include "match.h" #include "types.h" #include "utils.h" -#include "match.h" #ifdef DEBUG_HEAP // Doubly-linked list operations: diff --git a/print.c b/print.c index 06cfd53..830df5a 100644 --- a/print.c +++ b/print.c @@ -6,10 +6,10 @@ #include #include +#include "match.h" #include "print.h" #include "types.h" #include "utils.h" -#include "match.h" typedef struct match_node_s { match_t *m; -- cgit v1.2.3