projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae5473
)
Avoid "implicit declaration of function 'tinf_crc32'"
author
Tobias Diedrich
<ranma+coreboot@tdiedrich.de>
Tue, 20 Oct 2015 22:30:29 +0000
(
00:30
+0200)
committer
Tobias Diedrich
<ranma+coreboot@tdiedrich.de>
Tue, 20 Oct 2015 22:31:03 +0000
(
00:31
+0200)
u-boot/include/common.h
patch
|
blob
|
history
diff --git
a/u-boot/include/common.h
b/u-boot/include/common.h
index 3ff025531fc9c821bcbe280bf9076c78bffa73d3..82d6614e694584c9e780d9e192671e2184ac0bf1 100644
(file)
--- a/
u-boot/include/common.h
+++ b/
u-boot/include/common.h
@@
-538,6
+538,7
@@
int vsprintf(char *buf, const char *fmt, va_list args);
/* Hack: Forces compilation failure if must_be_zero is not zero. */
#define crc32(must_be_zero, buf, len) \
tinf_crc32(buf, len*(sizeof(char[1 - 2*!!(must_be_zero)])))
+uint tinf_crc32(const void *data, uint length);
/* common/console.c */
int console_init_f(void); /* Before relocation; uses the serial stuff */