diff options
| -rw-r--r-- | include/tinyff/dbg.h | 4 | ||||
| -rw-r--r-- | include/tinyff/image/bmp.h | 6 | ||||
| -rw-r--r-- | include/tinyff/image/generic.h | 4 | ||||
| -rw-r--r-- | include/tinyff/image/png.h | 8 | ||||
| -rw-r--r-- | src/common.c | 2 | ||||
| -rw-r--r-- | src/common.o | bin | 800 -> 0 bytes | |||
| -rw-r--r-- | src/dbg.c | 2 | ||||
| -rw-r--r-- | src/dbg.o | bin | 2392 -> 0 bytes | |||
| -rw-r--r-- | src/format/image/bmp.c | 4 | ||||
| -rw-r--r-- | src/format/image/png.c | 5 | ||||
| -rw-r--r-- | src/stream.c | 2 | ||||
| -rw-r--r-- | src/stream.o | bin | 1352 -> 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 Binary files differdeleted file mode 100644 index bf4e638..0000000 --- a/src/common.o +++ /dev/null @@ -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 Binary files differdeleted file mode 100644 index 6c14b2a..0000000 --- a/src/dbg.o +++ /dev/null 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 Binary files differdeleted file mode 100644 index 4ee18eb..0000000 --- a/src/stream.o +++ /dev/null |
