From add3d7fd57f643dc807c1bc5fd39fc8aa82be3cb Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Wed, 21 Oct 2015 00:30:29 +0200 Subject: [PATCH] Avoid "implicit declaration of function 'tinf_crc32'" --- u-boot/include/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/u-boot/include/common.h b/u-boot/include/common.h index 3ff0255..82d6614 100644 --- 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 */ -- 2.25.1