summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-08-29 21:43:16 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2014-08-29 21:43:16 (GMT)
commite16c2f086e2fc2f08124c485c9edb6869a090e4b (patch)
tree6e0ce96e4bb57e6c47055fc7a9092410d0157d4a
parent493c32aea4e49c6ed0021ac367dd727fb95ba9b6 (diff)
downloadlibnsbmp-e16c2f086e2fc2f08124c485c9edb6869a090e4b.tar.gz
libnsbmp-e16c2f086e2fc2f08124c485c9edb6869a090e4b.tar.bz2
We don't need read_int8 right now
-rw-r--r--src/libnsbmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libnsbmp.c b/src/libnsbmp.c
index bcbf21a..5d20d7c 100644
--- a/src/libnsbmp.c
+++ b/src/libnsbmp.c
@@ -84,9 +84,11 @@
#define ICO_FILE_HEADER_SIZE 6
#define ICO_DIR_ENTRY_SIZE 16
+#ifdef WE_NEED_INT8_READING_NOW
static inline int8_t read_int8(uint8_t *data, unsigned int o) {
return (int8_t) data[o];
}
+#endif
static inline uint8_t read_uint8(uint8_t *data, unsigned int o) {
return (uint8_t) data[o];