linux-mips
[Top] [All Lists]

[PATCH] Kill warning in indydog.c

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: [PATCH] Kill warning in indydog.c
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Date: Sat, 29 Jun 2002 20:32:23 +0200
Cc: linux-mips@oss.sgi.com
Mail-followup-to: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.4i
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
diff -u -r1.1.2.2 indydog.c
--- drivers/char/indydog.c      2002/06/25 19:07:34     1.1.2.2
+++ drivers/char/indydog.c      2002/06/29 18:09:24
@@ -26,7 +26,7 @@
 
 static int indydog_alive;
 
-static void indydog_ping()
+static void indydog_ping(void)
 {
        mcmisc_regs->watchdogt = 0;
 }


-- 
Jan-Benedict Glaw   .   jbglaw@lug-owl.de   .   +49-172-7608481
         -- New APT-Proxy written in shell script --
           http://lug-owl.de/~jbglaw/software/ap2/

Attachment: pgpeijk6EHmXX.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>