public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: rgmanager: master - rgmanager: Fix msgtest.c build warnings
Date: Mon, 22 Jun 2009 16:54:00 -0000	[thread overview]
Message-ID: <20090622165355.D841512029C@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/rgmanager.git?p=rgmanager.git;a=commitdiff;h=5ae411964a4f61d4ad6a0def4f6ccdcf32cb6960
Commit:        5ae411964a4f61d4ad6a0def4f6ccdcf32cb6960
Parent:        a2f0087666316e779aadf75bb2c14f88a3556d66
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Fri May 29 16:55:32 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Mon Jun 22 12:51:04 2009 -0400

rgmanager: Fix msgtest.c build warnings

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/src/clulib/msgtest.c |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/rgmanager/src/clulib/msgtest.c b/rgmanager/src/clulib/msgtest.c
index 5fe6818..dafca41 100644
--- a/rgmanager/src/clulib/msgtest.c
+++ b/rgmanager/src/clulib/msgtest.c
@@ -16,14 +16,7 @@ int my_node_id = 0;
 int running = 1;
 
 
-void
-sighandler(int sig)
-{
-	running = 0;
-}
-
-
-void *
+static void *
 piggyback(void *arg)
 {
 	msgctx_t ctx;
@@ -52,7 +45,7 @@ piggyback(void *arg)
 }
 
 
-void *
+static void *
 private(void *arg)
 {
 	msgctx_t ctx;
@@ -102,7 +95,7 @@ private(void *arg)
 }
 
 
-void
+static void
 clu_initialize(cman_handle_t *ch)
 {
 	if (!ch)
@@ -134,7 +127,7 @@ clu_initialize(cman_handle_t *ch)
 }
 
 
-int
+static int
 side_message(msgctx_t *ctx)
 {
 	msgctx_t actx;
@@ -160,8 +153,7 @@ side_message(msgctx_t *ctx)
 	return 0;
 }
 
-
-void
+static void
 sigusr2_handler(int sig)
 {
 }


                 reply	other threads:[~2009-06-22 16:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090622165355.D841512029C@lists.fedorahosted.org \
    --to=lon@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).