summaryrefslogtreecommitdiffstats
path: root/firmware/common/structec.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-05-03 08:35:14 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-05-03 08:35:14 +0000
commite15f8a21a971920558a6f463586b16a0ee49ad79 (patch)
tree91d6771d0979c43e5390dc1de0ba79cd0638ba25 /firmware/common/structec.c
parent9c1ab1f0572da9d68f45fc8cb6c361cee0b33376 (diff)
downloadrockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.tar.gz
rockbox-e15f8a21a971920558a6f463586b16a0ee49ad79.zip
Made source files #include the header file that they implement to make sure they are in sync. Made some local functions static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/structec.c')
-rw-r--r--firmware/common/structec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/structec.c b/firmware/common/structec.c
index 1f4205c67c..937742002b 100644
--- a/firmware/common/structec.c
+++ b/firmware/common/structec.c
@@ -109,7 +109,7 @@ void structec_convert(void *structure, const char *ecinst,
* @param ecinst endianess correction string.
* @return length of the struct in bytes.
*/
-size_t structec_size(const char *ecinst)
+static size_t structec_size(const char *ecinst)
{
size_t size = 0;