From 76033e6629cd41a891f78cee0f78e2e402ea773f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 3 Nov 2022 23:44:51 +0100 Subject: [PATCH] Prepare includes for future GAP variants --- src/datastructures.c | 2 +- src/hashfunctions.c | 5 +---- src/hashfunctions.h | 1 - src/skiplist.c | 2 -- src/uf.c | 2 -- 5 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/datastructures.c b/src/datastructures.c index 42d2c9d..69ce835 100644 --- a/src/datastructures.c +++ b/src/datastructures.c @@ -17,7 +17,7 @@ #include "avl.h" #include "uf.h" -#include +#include "compiled.h" // GAP headers #include "hashfunctions.h" diff --git a/src/hashfunctions.c b/src/hashfunctions.c index 83065f5..8dc042f 100644 --- a/src/hashfunctions.c +++ b/src/hashfunctions.c @@ -13,10 +13,7 @@ #include "hashfunctions.h" -#include "src/objects.h" -#include "src/permutat.h" -#include "src/trans.h" -#include "src/pperm.h" +#include "intfuncs.h" // GAP header #include // for labs diff --git a/src/hashfunctions.h b/src/hashfunctions.h index 997cf64..c688e82 100644 --- a/src/hashfunctions.h +++ b/src/hashfunctions.h @@ -15,7 +15,6 @@ #define HASHFUNCTIONS_H #include "datastructures.h" -#include "src/intfuncs.h" extern struct DatastructuresModule HashFunctionsModule; diff --git a/src/skiplist.c b/src/skiplist.c index df99a89..34fc00b 100644 --- a/src/skiplist.c +++ b/src/skiplist.c @@ -5,8 +5,6 @@ #include "skiplist.h" -#include "src/debug.h" - static Obj DS_Skiplist_RemoveNode(Obj self, Obj lst, Obj nx) { diff --git a/src/uf.c b/src/uf.c index ff9263c..3ea1d57 100644 --- a/src/uf.c +++ b/src/uf.c @@ -5,8 +5,6 @@ #include "uf.h" -#include "src/debug.h" - #ifdef SYS_IS_64_BIT #define RANKBITS 6 #else