public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* rgmanager: master - rgmanager: Fix msgtest.c build warnings
@ 2009-06-22 16:54 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2009-06-22 16:54 UTC (permalink / raw)
  To: cluster-cvs-relay

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)
 {
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-22 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22 16:54 rgmanager: master - rgmanager: Fix msgtest.c build warnings Lon Hohberger

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).