summaryrefslogtreecommitdiffstats
path: root/utils/sbtools/sb.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-09-15 16:10:31 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-09-15 16:10:31 +0000
commit9d7df9ae4d829204856a19fc14fae166631389bf (patch)
treeb82178fd2b0c7b4f75735599d99ce7fabbd53261 /utils/sbtools/sb.h
parent64b46723591adc8b563a692c0e91681d2fcd4ad4 (diff)
downloadrockbox-9d7df9ae4d829204856a19fc14fae166631389bf.tar.gz
rockbox-9d7df9ae4d829204856a19fc14fae166631389bf.tar.bz2
rockbox-9d7df9ae4d829204856a19fc14fae166631389bf.zip
sbtools: move the db parse to its own file and improve error messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30557 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/sbtools/sb.h')
-rw-r--r--utils/sbtools/sb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/sbtools/sb.h b/utils/sbtools/sb.h
index a1482691ce..0a8fad10af 100644
--- a/utils/sbtools/sb.h
+++ b/utils/sbtools/sb.h
@@ -18,6 +18,8 @@
* KIND, either express or implied.
*
****************************************************************************/
+#ifndef __SB_H__
+#define __SB_H__
#include <stdint.h>
@@ -147,3 +149,5 @@ struct sb_instruction_tag_t
uint32_t len; /* length of the section */
uint32_t flags; /* section flags */
} __attribute__((packed));
+
+#endif /* __SB_H__ */