lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120830122608.GW27604@spo001.leaseweb.com>
Date:	Thu, 30 Aug 2012 14:26:08 +0200
From:	Wim Van Sebroeck <wim@...ana.be>
To:	Randy Dunlap <rdunlap@...otime.net>, yan <clouds.yan@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCH] watchdog: fix a compiler warning of test program

And the fix is in Linus his tree also now.

Kind regards,
Wim.

> On 08/29/2012 06:39 AM, yan wrote:
> 
> > This patch fixs the following compiler warning:
> > 
> 
> 
> Hi,
> This is already fixed in the watchdog git tree.
> 
> Thanks.
> 
> > Documentation/watchdog/src/watchdog-test.c:34:6: \
> > warning: no previous prototype for ‘term’ [-Wmissing-prototypes]
> > 
> > Signed-off-by: yan <clouds.yan@...il.com>
> > ---
> >  Documentation/watchdog/src/watchdog-test.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/watchdog/src/watchdog-test.c b/Documentation/watchdog/src/watchdog-test.c
> > index 73ff5cc..3da8229 100644
> > --- a/Documentation/watchdog/src/watchdog-test.c
> > +++ b/Documentation/watchdog/src/watchdog-test.c
> > @@ -31,7 +31,7 @@ static void keep_alive(void)
> >   * or "-e" to enable the card.
> >   */
> >  
> > -void term(int sig)
> > +static void term(int sig)
> >  {
> >      close(fd);
> >      fprintf(stderr, "Stopping watchdog ticks...\n");
> 
> 
> 
> -- 
> ~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ