linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers:staging: fix compilation warning
@ 2012-12-03 10:34 Cong Ding
  2012-12-03 10:56 ` Dan Carpenter
  2012-12-03 15:19 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 4+ messages in thread
From: Cong Ding @ 2012-12-03 10:34 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Andrew Morton, Adam Buchbinder, Jesper Juhl,
	Uwe Kleine-König
  Cc: devel, linux-kernel, Cong Ding

We do not allow old-style function definition.  Always spell foo(void) if
a function does not take any parameters.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
---
 drivers/staging/telephony/ixj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/telephony/ixj.c b/drivers/staging/telephony/ixj.c
index 1cfa0b0..6233f19 100644
--- a/drivers/staging/telephony/ixj.c
+++ b/drivers/staging/telephony/ixj.c
@@ -318,7 +318,7 @@ static IXJ *ixj[IXJMAX];
  *	Allocate a free IXJ device
  */
 
-static IXJ *ixj_alloc()
+static IXJ *ixj_alloc(void)
 {
 	for(cnt=0; cnt<IXJMAX; cnt++)
 	{
-- 
1.7.4.5


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

end of thread, other threads:[~2012-12-03 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03 10:34 [PATCH] drivers:staging: fix compilation warning Cong Ding
2012-12-03 10:56 ` Dan Carpenter
2012-12-03 11:04   ` Cong Ding
2012-12-03 15:19 ` Greg Kroah-Hartman

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).