Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Kill warning in indydog.c
@ 2002-06-29 18:32 Jan-Benedict Glaw
  2002-06-30 12:11 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Jan-Benedict Glaw @ 2002-06-29 18:32 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH] Kill warning in indydog.c
  2002-06-29 18:32 [PATCH] Kill warning in indydog.c Jan-Benedict Glaw
@ 2002-06-30 12:11 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2002-06-30 12:11 UTC (permalink / raw)
  To: linux-mips

On Sat, Jun 29, 2002 at 08:32:23PM +0200, Jan-Benedict Glaw wrote:

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

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

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

end of thread, other threads:[~2002-06-30 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-29 18:32 [PATCH] Kill warning in indydog.c Jan-Benedict Glaw
2002-06-30 12:11 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox