[Compile Regression in 2.4.25-pre8][PATCH 9/42]

Kronos
2004-02-02T19:44:19Z

crc32.c:91: warning: static declaration for `fn_calc_memory_chunk_crc32' follows non-static

fn_calc_memory_chunk_crc32 is declared static in
drivers/net/wan/8253x/crc32.c. Remove the prototype from the header.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/net/wan/8253x/crc32dcl.h linux-2.4/drivers/net/wan/8253x/crc32dcl.h
--- linux-2.4-vanilla/drivers/net/wan/8253x/crc32dcl.h Sat Aug 3 02:39:44 2002
+++ linux-2.4/drivers/net/wan/8253x/crc32dcl.h Sat Jan 31 17:03:17 2004
@@ -29,7 +29,6 @@
/****************************************************/

extern void fn_init_crc_table(void);
-extern unsigned int fn_calc_memory_chunk_crc32(void *p, unsigned int n_bytes, unsigned int crc);
extern unsigned int fn_calc_memory_crc32(void *p, unsigned int n_bytes);
extern unsigned int fn_check_memory_crc32(void *p, unsigned int n_bytes, unsigned int crc);

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
"In linea di principio sarei indifferente al natale, se solo il natale
ricambiasse la cortesia e mi lasciasse in pace." -- Marco d'Itri