linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error in compiling a module
@ 2010-07-27 21:17 Balachandar
  2010-07-27 22:30 ` Michal Nazarewicz
  2010-07-28  4:59 ` Mulyadi Santosa
  0 siblings, 2 replies; 12+ messages in thread
From: Balachandar @ 2010-07-27 21:17 UTC (permalink / raw)
  To: kernelnewbies, linux-c-programming

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-07-29 20:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 21:17 Error in compiling a module Balachandar
2010-07-27 22:30 ` Michal Nazarewicz
2010-07-28  4:59 ` Mulyadi Santosa
2010-07-28 17:28   ` Balachandar
2010-07-29  4:51     ` Mulyadi Santosa
2010-07-29 13:56       ` Victor Rodriguez
2010-07-29 13:56       ` Victor Rodriguez
2010-07-29 16:21       ` Michal Nazarewicz
2010-07-29 17:52         ` Mulyadi Santosa
2010-07-29 18:10       ` Jim Cromie
2010-07-29 20:23         ` Mulyadi Santosa
2010-07-29 20:35           ` Greg Freemyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).