From: Michal Nazarewicz <mina86@tlen.pl>
To: Balachandar <bala1486@gmail.com>
Cc: kernelnewbies@nl.linux.org, linux-c-programming@vger.kernel.org
Subject: Re: Error in compiling a module
Date: Wed, 28 Jul 2010 00:30:25 +0200 [thread overview]
Message-ID: <87bp9slfr2.fsf@erwin.mina86.com> (raw)
In-Reply-To: <AANLkTikcGVVaofeUZtvPs+jpA11uXs-baTZ8O8NvH94i@mail.gmail.com> (Balachandar's message of "Tue, 27 Jul 2010 17:17:48 -0400")
Balachandar <bala1486@gmail.com> 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--
next prev parent reply other threads:[~2010-07-27 22:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 21:17 Error in compiling a module Balachandar
2010-07-27 22:30 ` Michal Nazarewicz [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bp9slfr2.fsf@erwin.mina86.com \
--to=mina86@tlen.pl \
--cc=bala1486@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.