diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-05-18 11:25:14 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-05-18 11:25:35 -0400 |
commit | 4505819c576fc93f21d73e1bf85550250cdb72a2 (patch) | |
tree | 517cac40940f0fcace0c0d213eb797364822a355 | |
parent | a1231458e25a6b1d6e6a600d59ca1b252d65db1d (diff) | |
download | bfs-4505819c576fc93f21d73e1bf85550250cdb72a2.tar.xz |
bit: Rename int.h to bit.h
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/bit.h (renamed from src/int.h) | 6 | ||||
-rw-r--r-- | src/trie.c | 2 | ||||
-rw-r--r-- | tests/bit.c (renamed from tests/int.c) | 2 |
4 files changed, 6 insertions, 6 deletions
@@ -240,7 +240,7 @@ LIBBFS := \ $(BIN)/bfs: $(OBJ)/src/main.o $(LIBBFS) # Standalone unit tests -UNITS := bfstd int trie xtimegm +UNITS := bfstd bit trie xtimegm UNIT_TESTS := $(UNITS:%=$(BIN)/tests/%) UNIT_CHECKS := $(UNITS:%=check-%) @@ -5,8 +5,8 @@ * Bits & bytes. */ -#ifndef BFS_INT_H -#define BFS_INT_H +#ifndef BFS_BIT_H +#define BFS_BIT_H #include "config.h" #include <limits.h> @@ -352,4 +352,4 @@ UINT_OVERLOADS(BIT_CEIL) #endif // __STDC_VERSION__ < 202311L -#endif // BFS_INT_H +#endif // BFS_BIT_H @@ -82,9 +82,9 @@ */ #include "trie.h" +#include "bit.h" #include "config.h" #include "diag.h" -#include "int.h" #include "list.h" #include <assert.h> #include <limits.h> diff --git a/tests/int.c b/tests/bit.c index e59efde..7a7b0f3 100644 --- a/tests/int.c +++ b/tests/bit.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "../src/int.h" +#include "../src/bit.h" #include "../src/diag.h" #include <assert.h> #include <limits.h> |