Skip to contentSkip to conversation

Kill warning in indydog.c

PATCH In review Jan-Benedict Glaw 2 participants 2 messages Jun 29, 2002 – Jun 30, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kill warning in indydog.c

Hi!

Please apply this patch. It fixes a warning that function declaration isn't a valid prototype. This applies to linux_2_4 and to HEAD.

MfG, JBG

Index: drivers/char/indydog.c
===================================================================
RCS file: /cvs/linux/drivers/char/indydog.c,v
retrieving revision 1.1.2.2

char/indydog.c +1 -1
diff -u -r1.1.2.2 indydog.c
@@ -26,7 +26,7 @@
 
 static int indydog_alive;
 
-static void indydog_ping()
+static void indydog_ping(void)
 {
 	mcmisc_regs->watchdogt = 0;
 }
Signature · 3 lines
Jan-Benedict Glaw   .   [email protected]   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/
#1 lore raw

char/indydog.c line 32

Quoted 8 lines · Jan-Benedict Glaw

Please apply this patch. It fixes a warning that function declaration isn't a valid prototype. This applies to linux_2_4 and to HEAD.

char/indydog.c +1 -1
-static void indydog_ping()
+static void indydog_ping(void)
 {
 	mcmisc_regs->watchdogt = 0;
 }

And this tiny function better be an inline function as well ...

Ralf