[patch] 2.3.99pre4-3 compile problem with econet.c

From: François romieu (romieu@ensta.fr)
Date: Tue Apr 04 2000 - 07:03:18 EST


CONFIG_ECONET=m
CONFIG_ECONET_AUNUDP=y
CONFIG_ECONET_NATIVE=y

Problem :

make[2]: Entering directory `/usr/src/linux-2.3.99pre4-3/net/econet'
gcc -D__KERNEL__ -I/usr/src/linux-2.3.99pre4-3/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -
include /usr/src/linux-2.3.99pre4-3/include/linux/modversions.h -c -o af_econe
t.o af_econet.c
af_econet.c: In function `init_module':
af_econet.c:1153: too few arguments to function `econet_proto_init'

The following compiles :

--- linux-2.3.99pre4-3/net/econet/af_econet.c.orig Tue Apr 4 10:47:53 2000
+++ linux-2.3.99pre4-3/net/econet/af_econet.c Tue Apr 4 10:48:03 2000
@@ -1116,7 +1116,7 @@
        0
 };
 
-void __exit econet_proto_exit(struct net_proto *pro)
+void __exit econet_proto_exit(void)
 {
        extern void econet_sysctl_unregister(void);
 #ifdef CONFIG_ECONET_AUNUDP

-- 
Ueimor

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:11 EST