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
This commit is contained in:
Bertrik Sikken 2008-05-03 08:35:14 +00:00
parent 9c1ab1f057
commit e15f8a21a9
26 changed files with 47 additions and 26 deletions

View file

@ -37,7 +37,7 @@
/* based on implementation by Finn Yannick Jacobs */
#include "crc32-mi4.h"
/* crc_tab[] -- this crcTable is being build by chksum_crc32GenTab().
* so make sure, you call it before using the other

View file

@ -19,6 +19,8 @@
/* Code copied from firmware_flash plugin. */
#include "crc32.h"
/* Tool function to calculate a CRC32 across some buffer */
/* third argument is either 0xFFFFFFFF to start or value from last piece */
unsigned crc_32(const void *src, unsigned len, unsigned crc32)

View file

@ -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;