mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
crc: Fix code style with crc functions
Some of these have a space before the bracket. Drop it to fix the style. Add some missing function comments while here. Note that u32 and u8 cannot be used here since crc.h is included on the host side. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -58,7 +58,7 @@ extern unsigned int env_size;
|
||||
extern env_t embedded_environment;
|
||||
#endif /* CONFIG_BUILD_ENVCRC */
|
||||
|
||||
extern uint32_t crc32 (uint32_t, const unsigned char *, unsigned int);
|
||||
extern uint32_t crc32(uint32_t, const unsigned char *, unsigned int);
|
||||
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
@@ -88,7 +88,7 @@ int main (int argc, char **argv)
|
||||
memset(dataptr + eoe, pad, datasize - eoe);
|
||||
}
|
||||
|
||||
crc = crc32 (0, dataptr, datasize);
|
||||
crc = crc32(0, dataptr, datasize);
|
||||
|
||||
/* Check if verbose mode is activated passing a parameter to the program */
|
||||
if (argc > 1) {
|
||||
|
Reference in New Issue
Block a user