Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2003-06-13 16:27:26 +1000
committerAnton Blanchard <anton@samba.org>2003-06-13 16:27:26 +1000
commit64a30cd5546152a249e59355697b10d46ec43e25 (patch)
tree5d1eea46a40545245d0d08235237bc92b1417723
parent1acaa921f977487fa6651960dee39222bd949fba (diff)
ppc64: K&R to ANSI style conversions from Steven Cole
-rw-r--r--arch/ppc64/boot/zlib.c27
1 files changed, 15 insertions, 12 deletions
diff --git a/arch/ppc64/boot/zlib.c b/arch/ppc64/boot/zlib.c
index 14f9e81b6474..4616aadfa430 100644
--- a/arch/ppc64/boot/zlib.c
+++ b/arch/ppc64/boot/zlib.c
@@ -1545,10 +1545,11 @@ local inflate_huft *fixed_tl;
local inflate_huft *fixed_td;
-local voidpf falloc(q, n, s)
-voidpf q; /* opaque pointer (not used) */
-uInt n; /* number of items */
-uInt s; /* size of item */
+local voidpf falloc(
+ voidpf q, /* opaque pointer (not used) */
+ uInt n, /* number of items */
+ uInt s /* size of item */
+)
{
Assert(s == sizeof(inflate_huft) && n <= fixed_left,
"inflate_trees falloc overflow");
@@ -1558,10 +1559,11 @@ uInt s; /* size of item */
}
-local void ffree(q, p, n)
-voidpf q;
-voidpf p;
-uInt n;
+local void ffree(
+ voidpf q,
+ voidpf p,
+ uInt n
+)
{
Assert(0, "inflate_trees ffree called!");
if (q) q = p; /* to make some compilers happy */
@@ -2164,10 +2166,11 @@ char *z_errmsg[] = {
#define DO16(buf) DO8(buf); DO8(buf);
/* ========================================================================= */
-uLong adler32(adler, buf, len)
- uLong adler;
- Bytef *buf;
- uInt len;
+uLong adler32(
+ uLong adler,
+ Bytef *buf,
+ uInt len
+)
{
unsigned long s1 = adler & 0xffff;
unsigned long s2 = (adler >> 16) & 0xffff;