From: Jerry Snitselaar <dev@snitselaar.org>
To: linux-kernel@vger.kernel.org
Cc: wim@iguana.be, linux-watchdog@vger.kernel.org
Subject: Re: [PATCH] watchdog: watchdog-test: make term() static
Date: Thu, 26 Jul 2012 20:57:35 -0700 [thread overview]
Message-ID: <CA+30oubMM0AVqH2PP+3mDcwjPMR9OXxUTdBcE5bRNCv8C6TPfw@mail.gmail.com> (raw)
In-Reply-To: <1343361129-8802-1-git-send-email-dev@snitselaar.org>
On Thu, Jul 26, 2012 at 8:52 PM, Jerry Snitselaar <dev@snitselaar.org> wrote:
> In 3.5 warning during build 'no previous prototype for term'. Since it
> is only used in watchdog-test.c make term() static.
>
> Signed-off-by: Jerry Snitselaar <dev@snitselaar.org>
> ---
> 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");
> --
> 1.7.12.rc0
>
Disregard this patch. I didn't see Randy's patch when I did a search
in my email.
Jerry
prev parent reply other threads:[~2012-07-27 3:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-27 3:52 [PATCH] watchdog: watchdog-test: make term() static Jerry Snitselaar
2012-07-27 3:57 ` Jerry Snitselaar [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=CA+30oubMM0AVqH2PP+3mDcwjPMR9OXxUTdBcE5bRNCv8C6TPfw@mail.gmail.com \
--to=dev@snitselaar.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@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;
as well as URLs for NNTP newsgroup(s).