aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bp.c6
-rw-r--r--definitions.c4
-rw-r--r--files.c1
-rw-r--r--match.c2
-rw-r--r--print.c2
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 <string.h>
#include <unistd.h>
-#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 <stdlib.h>
#include <string.h>
-#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 <unistd.h>
#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 <string.h>
#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 <stdlib.h>
#include <string.h>
+#include "match.h"
#include "print.h"
#include "types.h"
#include "utils.h"
-#include "match.h"
typedef struct match_node_s {
match_t *m;