Re: Error in compiling a module

Michal Nazarewicz <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
Balachandar <[email protected]> writes:
>  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

You've probably forgotten about semicolon when declaring a structure
before the function.

> In .h file
>
> 11: int sock_ucnet_create(struct net *net, struct socket *sock, int
> protocol, int KERN);

-- 
Best regards,                                         _     _
 .o. | Liege of Serenly Enlightened Majesty of      o' \,=./ `o
 ..o | Computer Science,  Michal "mina86" Nazarewicz   (o o)
 ooo +--<mina86-tlen.pl>--<jid:mina86-jabber.org>--ooO--(_)--Ooo--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.