From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24269 invoked by alias); 11 May 2009 15:13:00 -0000 Received: (qmail 24255 invoked by alias); 11 May 2009 15:13:00 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 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 - libdlmcontrol: make function static 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: 08527cbd0dfd6e4c896f737b284722843db88584 X-Git-Newrev: c3bfe36a2f1933bdcbe204841e14d07c131e6ba7 From: David Teigland Message-Id: <20090511151227.CFB4112022C@lists.fedorahosted.org> Date: Mon, 11 May 2009 15:13: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/msg00251.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c3bfe36a2f1933bdcbe204841e14d07c131e6ba7 Commit: c3bfe36a2f1933bdcbe204841e14d07c131e6ba7 Parent: 08527cbd0dfd6e4c896f737b284722843db88584 Author: Fabio M. Di Nitto AuthorDate: Wed May 6 06:49:00 2009 +0200 Committer: David Teigland CommitterDate: Mon May 11 10:05:05 2009 -0500 libdlmcontrol: make function static cluster-stable3/dlm/libdlmcontrol/main.c:90: warning: no previous prototype for ‘do_dump’ Signed-off-by: Fabio M. Di Nitto --- dlm/libdlmcontrol/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlm/libdlmcontrol/main.c b/dlm/libdlmcontrol/main.c index a3cc8b3..5731c85 100644 --- a/dlm/libdlmcontrol/main.c +++ b/dlm/libdlmcontrol/main.c @@ -86,7 +86,7 @@ static void init_header(struct dlmc_header *h, int cmd, char *name, strncpy(h->name, name, DLM_LOCKSPACE_LEN); } -int do_dump(int cmd, char *name, char *buf) +static int do_dump(int cmd, char *name, char *buf) { struct dlmc_header h, *rh; char *reply;