From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25849 invoked by alias); 11 May 2009 15:14:08 -0000 Received: (qmail 25842 invoked by alias); 11 May 2009 15:14:07 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: STABLE3 - group_tool: fix function declaration To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: 3c8af9c4a328600cf2eee8b3f2ad9189ce2a51fe X-Git-Newrev: 23fd5f16b6977d807f11aa2c3f2a4b9fe48b514d From: David Teigland Message-Id: <20090511151317.37704120214@lists.fedorahosted.org> Date: Mon, 11 May 2009 15:14:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00264.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=23fd5f16b6977d807f11aa2c3f2a4b9fe48b514d Commit: 23fd5f16b6977d807f11aa2c3f2a4b9fe48b514d Parent: 3c8af9c4a328600cf2eee8b3f2ad9189ce2a51fe Author: Fabio M. Di Nitto AuthorDate: Wed May 6 10:30:31 2009 +0200 Committer: David Teigland CommitterDate: Mon May 11 10:05:06 2009 -0500 group_tool: fix function declaration cluster-stable3/group/tool/main.c:211: warning: function declaration isn't a prototype Signed-off-by: Fabio M. Di Nitto --- group/tool/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/group/tool/main.c b/group/tool/main.c index a84103f..1e9927d 100644 --- a/group/tool/main.c +++ b/group/tool/main.c @@ -207,7 +207,7 @@ static void decode_arguments(int argc, char **argv) #define EST_FAIL_START_WAIT 14 #define EST_FAIL_ALL_STARTED 15 -const char *ev_state_str(state) +const char *ev_state_str(int state) { switch (state) { case EST_JOIN_BEGIN: