The patch titled zlib inflate: fix function definitions has been added to the -mm tree. Its filename is zlib-inflate-fix-function-definitions.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: zlib inflate: fix function definitions From: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Fix function definitions to be ANSI-compliant: lib/zlib_inflate/inffast.c:68:1: warning: non-ANSI definition of function 'inflate_fast' lib/zlib_inflate/inftrees.c:33:1: warning: non-ANSI definition of function 'zlib_inflate_table' Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- lib/zlib_inflate/inffast.c | 6 +++--- lib/zlib_inflate/inftrees.c | 9 ++------- 2 files changed, 5 insertions(+), 10 deletions(-) diff -puN lib/zlib_inflate/inffast.c~zlib-inflate-fix-function-definitions lib/zlib_inflate/inffast.c --- a/lib/zlib_inflate/inffast.c~zlib-inflate-fix-function-definitions +++ a/lib/zlib_inflate/inffast.c @@ -63,10 +63,10 @@ bytes, which is the maximum length that can be coded. inflate_fast() requires strm->avail_out >= 258 for each loop to avoid checking for output space. + + - @start: inflate()'s starting value for strm->avail_out */ -void inflate_fast(strm, start) -z_streamp strm; -unsigned start; /* inflate()'s starting value for strm->avail_out */ +void inflate_fast(z_streamp strm, unsigned start) { struct inflate_state *state; unsigned char *in; /* local strm->next_in */ diff -puN lib/zlib_inflate/inftrees.c~zlib-inflate-fix-function-definitions lib/zlib_inflate/inftrees.c --- a/lib/zlib_inflate/inftrees.c~zlib-inflate-fix-function-definitions +++ a/lib/zlib_inflate/inftrees.c @@ -29,13 +29,8 @@ const char inflate_copyright[] = table index bits. It will differ if the request is greater than the longest code or if it is less than the shortest code. */ -int zlib_inflate_table(type, lens, codes, table, bits, work) -codetype type; -unsigned short *lens; -unsigned codes; -code **table; -unsigned *bits; -unsigned short *work; +int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, + code **table, unsigned *bits, unsigned short *work) { unsigned len; /* a code's length in bits */ unsigned sym; /* index of code symbols */ _ Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are origin.patch patch-kernel-acct-fix-function-definition.patch zlib-inflate-fix-function-definitions.patch git-kbuild.patch ioat-fix-sparse-ulong-warning.patch git-pcmcia.patch lpfc-sparse-null-warnings.patch aic7-cleanup-module_parm_desc-strings.patch qla1280-fix-section-mismatch-warnings.patch areca-raid-linux-scsi-driver.patch dc395x-fix-printk-format-warning.patch git-watchdog.patch add-poisonh-and-patch-primary-users.patch update-2-drivers-for-poisonh.patch poison-add-use-more-constants.patch pi-futex-rt-mutex-docs-update.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html