From: Wim Van Sebroeck <wim@iguana.be>
To: Randy Dunlap <rdunlap@xenotime.net>, yan <clouds.yan@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH] watchdog: fix a compiler warning of test program
Date: Thu, 30 Aug 2012 14:26:08 +0200 [thread overview]
Message-ID: <20120830122608.GW27604@spo001.leaseweb.com> (raw)
In-Reply-To: <503E39A5.9090903@xenotime.net>
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@gmail.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
prev parent reply other threads:[~2012-08-30 12:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-29 13:39 yan
2012-08-29 15:47 ` Randy Dunlap
2012-08-30 12:26 ` Wim Van Sebroeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120830122608.GW27604@spo001.leaseweb.com \
--to=wim@iguana.be \
--cc=clouds.yan@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®