summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 15:46:35 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 15:46:35 +1100
commitf26533e666945befedcdc71952a5a3fca1c4c666 (patch)
tree6d068bed2393ad2ad3e3b158604e1fcd394cdf76
parentc9977fd038d10c50abcfa2f92e07bc5401737bec (diff)
refactor(*): Change include brackets from "" to <>
-rw-r--r--include/tinyff/dbg.h4
-rw-r--r--include/tinyff/image/bmp.h6
-rw-r--r--include/tinyff/image/generic.h4
-rw-r--r--include/tinyff/image/png.h8
-rw-r--r--src/common.c2
-rw-r--r--src/common.obin800 -> 0 bytes
-rw-r--r--src/dbg.c2
-rw-r--r--src/dbg.obin2392 -> 0 bytes
-rw-r--r--src/format/image/bmp.c4
-rw-r--r--src/format/image/png.c5
-rw-r--r--src/stream.c2
-rw-r--r--src/stream.obin1352 -> 0 bytes
12 files changed, 19 insertions, 18 deletions
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 <stdio.h>
#include <stdarg.h>
-#include "result.h"
-#include "common.h"
+#include <tinyff/result.h>
+#include <tinyff/common.h>
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 <stdlib.h>
-#include "tinyff/result.h"
-#include "tinyff/stream.h"
-#include "tinyff/image/generic.h"
+#include <tinyff/result.h>
+#include <tinyff/stream.h>
+#include <tinyff/image/generic.h>
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 <tinyff/common.h>
+#include <tinyff/result.h>
#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 <string.h>
#include <stdlib.h>
-#include "tinyff/result.h"
-#include "tinyff/common.h"
-#include "tinyff/stream.h"
-#include "tinyff/image/generic.h"
+#include <tinyff.h>
+#include <tinyff/common.h>
+#include <tinyff/stream.h>
+#include <tinyff/image/generic.h>
// 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 <tinyff/common.h>
// 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
--- a/src/common.o
+++ /dev/null
Binary files 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 <tinyff/dbg.h>
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
--- a/src/dbg.o
+++ /dev/null
Binary files 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 <tinyff/image/bmp.h>
+#include <tinyff/dbg.h>
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 <tinyff/image/png.h>
-#include "result.h"
-#include "tinyff/dbg.h"
+#include <tinyff/result.h>
+#include <tinyff/common.h>
+#include <tinyff/dbg.h>
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 <tinyff/stream.h>
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
--- a/src/stream.o
+++ /dev/null
Binary files differ