From 1f7e8e937d0e71e7eb3b5deab38b34d0a0159d88 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 17 Sep 2026 21:50:34 +0200 Subject: Added include guards --- src/solvers/distribution.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/solvers/distribution.h') diff --git a/src/solvers/distribution.h b/src/solvers/distribution.h index a996e3db..1ed7453 100644 --- a/src/solvers/distribution.h +++ b/src/solvers/distribution.h @@ -1,3 +1,6 @@ +#ifndef SOLVERS_DISTRIBUTION_H +#define SOLVERS_DISTRIBUTION_H + #define ENTRIES_PER_BYTE(k) (UINT64_C(8) / (uint64_t)(k)) #define TABLE_SHIFT(i, k) ((uint8_t)(k) * (uint8_t)((i) % ENTRIES_PER_BYTE(k))) #define TABLE_MASK(i, k) ((UINT8_BIT(k) - UINT8_C(1)) << TABLE_SHIFT(i, k)) @@ -99,3 +102,5 @@ distribution_equal( return wrong == 0; } + +#endif /* SOLVERS_DISTRIBUTION_H */ -- cgit v1.3