[uPatch] Compile fixe - 2.3.99pre9-3 - drivers/net/wan/comx.c

From: François romieu (romieu@ensta.fr)
Date: Mon May 22 2000 - 06:03:46 EST


Hello,

Pb :
comx.c:85: `comx_lookup' undeclared here (not in a function)
comx.c:85: initializer element for `comx_root_inode_ops.lookup' is not constant
comx.c:86: `comx_mkdir' undeclared here (not in a function)
comx.c:86: initializer element for `comx_root_inode_ops.mkdir' is not constant
comx.c:87: `comx_rmdir' undeclared here (not in a function)
comx.c:87: initializer element for `comx_root_inode_ops.rmdir' is not constant

diff -u --recursive linux-2.3.99pre9-3.orig/drivers/net/wan/comx.c linux-2.3.99pre9-3/drivers/net/wan/comx.c
--- linux-2.3.99pre9-3.orig/drivers/net/wan/comx.c Mon May 22 10:41:44 2000
+++ linux-2.3.99pre9-3/drivers/net/wan/comx.c Mon May 22 09:26:35 2000
@@ -81,6 +81,10 @@
 static struct comx_hardware *comx_channels = NULL;
 static struct comx_protocol *comx_lines = NULL;
 
+static int comx_mkdir(struct inode *, struct dentry *, int);
+static int comx_rmdir(struct inode *, struct dentry *);
+static struct dentry *comx_lookup(struct inode *, struct dentry *);
+
 static struct inode_operations comx_root_inode_ops = {
         lookup: comx_lookup,
         mkdir: comx_mkdir,

-- 
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 : Tue May 23 2000 - 21:00:21 EST