mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: yan <clouds.yan@gmail.com>
Cc: wim@iguana.be, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH] watchdog: fix a compiler warning of test program
Date: Wed, 29 Aug 2012 08:47:49 -0700	[thread overview]
Message-ID: <503E39A5.9090903@xenotime.net> (raw)
In-Reply-To: <1346247545-3433-1-git-send-email-clouds.yan@gmail.com>

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

  reply	other threads:[~2012-08-29 15:48 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 [this message]
2012-08-30 12:26   ` Wim Van Sebroeck

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=503E39A5.9090903@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=clouds.yan@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wim@iguana.be \
    /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®