From: Tobias Diedrich Date: Tue, 20 Oct 2015 22:30:29 +0000 (+0200) Subject: Avoid "implicit declaration of function 'tinf_crc32'" X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=add3d7fd57f643dc807c1bc5fd39fc8aa82be3cb;p=oweals%2Fu-boot_mod.git Avoid "implicit declaration of function 'tinf_crc32'" --- 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 */