From f26533e666945befedcdc71952a5a3fca1c4c666 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 22 Feb 2026 15:46:35 +1100 Subject: refactor(*): Change include brackets from "" to <> --- include/tinyff/dbg.h | 4 ++-- include/tinyff/image/bmp.h | 6 +++--- include/tinyff/image/generic.h | 4 ++-- include/tinyff/image/png.h | 8 ++++---- src/common.c | 2 +- src/common.o | Bin 800 -> 0 bytes src/dbg.c | 2 +- src/dbg.o | Bin 2392 -> 0 bytes src/format/image/bmp.c | 4 ++-- src/format/image/png.c | 5 +++-- src/stream.c | 2 +- src/stream.o | Bin 1352 -> 0 bytes 12 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 src/common.o delete mode 100644 src/dbg.o delete mode 100644 src/stream.o diff --git a/include/tinyff/dbg.h b/include/tinyff/dbg.h index e432262..d109534 100644 --- a/include/tinyff/dbg.h +++ b/include/tinyff/dbg.h @@ -12,8 +12,8 @@ #include #include -#include "result.h" -#include "common.h" +#include +#include static FILE *intff_debug_stream = NULL; diff --git a/include/tinyff/image/bmp.h b/include/tinyff/image/bmp.h index 194e0f2..6623b1b 100644 --- a/include/tinyff/image/bmp.h +++ b/include/tinyff/image/bmp.h @@ -7,9 +7,9 @@ #include -#include "tinyff/result.h" -#include "tinyff/stream.h" -#include "tinyff/image/generic.h" +#include +#include +#include static const unsigned char BMP_SIGNATURE[2] = { 'B', 'M' diff --git a/include/tinyff/image/generic.h b/include/tinyff/image/generic.h index e136027..8b5bcaa 100644 --- a/include/tinyff/image/generic.h +++ b/include/tinyff/image/generic.h @@ -1,8 +1,8 @@ // This is the generics image header file for tinyff // It contains generic image structures and definitions -#include "common.h" -#include "result.h" +#include +#include #ifndef GENERIC_IMAGE_H #define GENERIC_IMAGE_H diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h index 8d1b2f0..a43d353 100644 --- a/include/tinyff/image/png.h +++ b/include/tinyff/image/png.h @@ -7,10 +7,10 @@ #include #include -#include "tinyff/result.h" -#include "tinyff/common.h" -#include "tinyff/stream.h" -#include "tinyff/image/generic.h" +#include +#include +#include +#include // External #include "ext/tinf.h" diff --git a/src/common.c b/src/common.c index 2e12c29..ff3f492 100644 --- a/src/common.c +++ b/src/common.c @@ -1,3 +1,3 @@ -#include "tinyff/common.h" +#include // Endian functions moved to header because C's acting up again \ No newline at end of file diff --git a/src/common.o b/src/common.o deleted file mode 100644 index bf4e638..0000000 Binary files a/src/common.o and /dev/null differ diff --git a/src/dbg.c b/src/dbg.c index 8d3aba3..15ecbf4 100644 --- a/src/dbg.c +++ b/src/dbg.c @@ -1,4 +1,4 @@ -#include "dbg.h" +#include ff_result ff_set_debug_stream(FILE *stream) { diff --git a/src/dbg.o b/src/dbg.o deleted file mode 100644 index 6c14b2a..0000000 Binary files a/src/dbg.o and /dev/null differ diff --git a/src/format/image/bmp.c b/src/format/image/bmp.c index 5e63f0c..ed358df 100644 --- a/src/format/image/bmp.c +++ b/src/format/image/bmp.c @@ -1,5 +1,5 @@ -#include "tinyff/image/bmp.h" -#include "tinyff/dbg.h" +#include +#include ff_result ff_bmp_isvalid(ff_stream* stream) { diff --git a/src/format/image/png.c b/src/format/image/png.c index 29facd4..93e1521 100644 --- a/src/format/image/png.c +++ b/src/format/image/png.c @@ -1,6 +1,7 @@ #include -#include "result.h" -#include "tinyff/dbg.h" +#include +#include +#include ff_result ff_png_isvalid(ff_stream *stream) { diff --git a/src/stream.c b/src/stream.c index a68db43..b8e2647 100644 --- a/src/stream.c +++ b/src/stream.c @@ -1,4 +1,4 @@ -#include "stream.h" +#include size_t ff_file_read(void *ptr, size_t size, void *user) { diff --git a/src/stream.o b/src/stream.o deleted file mode 100644 index 4ee18eb..0000000 Binary files a/src/stream.o and /dev/null differ -- cgit v1.2.3