- Subject: Error in compiling a module
- From: Balachandar <bala1486@xxxxxxxxx>
- Date: Tue, 27 Jul 2010 17:17:48 -0400
- List-id: <linux-c-programming.vger.kernel.org>
Hello,
I am trying add a new network protocol family to the kernel. But i
get the following error for .h file '11: two or more data types in
declaration specifiers
In .c file
18: static struct net_proto_family ucnet_family_ops = {
19: .family = PF_UCNET,
20: .create = sock_ucnet_create,
21: .owner = THIS_MODULE,
22: } ;
In .h file
11: int sock_ucnet_create(struct net *net, struct socket *sock, int
protocol, int KERN);
I appreciate any help
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Assembler]
[Git]
[Kernel List]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[Yosemite Campsites]
[Yosemite News]
[GCC Help]