diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-02-13 10:38:45 +0100 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2023-03-13 12:34:40 +0100 |
commit | 2535e2047fe79ac16eed79c6f99261cd9ce53dfc (patch) | |
tree | 0c1e9acb24e8efd6cd03aaf4d1f9fc643a93ca34 /lib/zlib | |
parent | 521d4fe6761ce62f06acf2b07248d8d5b5366ea3 (diff) | |
download | arm-trusted-firmware-2535e2047fe79ac16eed79c6f99261cd9ce53dfc.tar.gz |
style: fix functions definitions
This is to fix old style functions definitions.
Change-Id: I094b1497dcf948d4d8de4d57d93878aa092ea053
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'lib/zlib')
-rw-r--r-- | lib/zlib/crc32.c | 4 | ||||
-rw-r--r-- | lib/zlib/inflate.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/zlib/crc32.c b/lib/zlib/crc32.c index f8357b083..21a69a8ae 100644 --- a/lib/zlib/crc32.c +++ b/lib/zlib/crc32.c @@ -279,7 +279,7 @@ local once_t made = ONCE_INIT; combinations of CRC register values and incoming bytes. */ -local void make_crc_table() +local void make_crc_table(void) { unsigned i, j, n; z_crc_t p; @@ -498,7 +498,7 @@ local void write_table64(out, table, k) } /* Actually do the deed. */ -int main() +int main(void) { make_crc_table(); return 0; diff --git a/lib/zlib/inflate.c b/lib/zlib/inflate.c index 8acbef44e..aa25e6188 100644 --- a/lib/zlib/inflate.c +++ b/lib/zlib/inflate.c @@ -342,7 +342,7 @@ struct inflate_state FAR *state; a.out > inffixed.h */ -void makefixed() +void makefixed(void) { unsigned low, size; struct inflate_state state; |