Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
03ccdbcd
Commit
03ccdbcd
authored
16 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
lib_generic/crc32.c: fix compile problem
Signed-off-by:
Wolfgang Denk
<
wd@denx.de
>
parent
eb0615bf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib_generic/crc32.c
+4
-5
4 additions, 5 deletions
lib_generic/crc32.c
with
4 additions
and
5 deletions
lib_generic/crc32.c
+
4
−
5
View file @
03ccdbcd
...
...
@@ -151,10 +151,7 @@ const uint32_t * ZEXPORT get_crc_table()
#define DO8(buf) DO4(buf); DO4(buf);
/* ========================================================================= */
uint32_t
ZEXPORT
crc32
(
crc
,
buf
,
len
)
uint32_t
crc
;
const
Bytef
*
buf
;
uInt
len
;
uint32_t
ZEXPORT
crc32
(
uint32_t
crc
,
const
Bytef
*
buf
,
uInt
len
)
{
#ifdef DYNAMIC_CRC_TABLE
if
(
crc_table_empty
)
...
...
@@ -203,7 +200,9 @@ uint32_t ZEXPORT crc32_no_comp(uint32_t crc, const Bytef *buf, uInt len)
* Calculate the crc32 checksum triggering the watchdog every 'chunk_sz' bytes
* of input.
*/
ulong
crc32_wd
(
ulong
crc
,
const
unsigned
char
*
buf
,
uint
len
,
uint
chunk_sz
)
uint32_t
ZEXPORT
crc32_wd
(
uint32_t
crc
,
const
unsigned
char
*
buf
,
uInt
len
,
uInt
chunk_sz
)
{
#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)
const
unsigned
char
*
end
,
*
curr
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment