linux-mips
[Top] [All Lists]

Re: [PATCH] Kill warning in indydog.c

To: linux-mips@oss.sgi.com
Subject: Re: [PATCH] Kill warning in indydog.c
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Sun, 30 Jun 2002 14:11:55 +0200
In-reply-to: <20020629183223.GV17216@lug-owl.de>; from jbglaw@lug-owl.de on Sat, Jun 29, 2002 at 08:32:23PM +0200
References: <20020629183223.GV17216@lug-owl.de>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
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


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