From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23525 invoked by alias); 11 May 2009 15:12:49 -0000 Received: (qmail 23518 invoked by alias); 11 May 2009 15:12:49 -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 - dlm: fix function prototypes 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: af56607de98bb20578833a1261c5c263e9fffac7 X-Git-Newrev: cda414e94535f79a236357e9206b7b25ffd9d398 From: David Teigland Message-Id: <20090511151223.8FB751201EC@lists.fedorahosted.org> Date: Mon, 11 May 2009 15:12: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/msg00249.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=cda414e94535f79a236357e9206b7b25ffd9d398 Commit: cda414e94535f79a236357e9206b7b25ffd9d398 Parent: af56607de98bb20578833a1261c5c263e9fffac7 Author: Fabio M. Di Nitto AuthorDate: Wed May 6 06:27:52 2009 +0200 Committer: David Teigland CommitterDate: Mon May 11 10:05:05 2009 -0500 dlm: fix function prototypes cluster-stable3/dlm/libdlm/libdlm.h:223: warning: function declaration isn’t a prototype cluster-stable3/dlm/libdlm/libdlm.h:225: warning: function declaration isn’t a prototype cluster-stable3/dlm/libdlm/libdlm.c:248: warning: function declaration isn’t a prototype cluster-stable3/dlm/libdlm/libdlm.c:1187: warning: function declaration isn’t a prototype Signed-off-by: Fabio M. Di Nitto --- dlm/libdlm/libdlm.c | 4 ++-- dlm/libdlm/libdlm.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlm/libdlm/libdlm.c b/dlm/libdlm/libdlm.c index c925233..dadf1d2 100644 --- a/dlm/libdlm/libdlm.c +++ b/dlm/libdlm/libdlm.c @@ -244,7 +244,7 @@ static int ls_pthread_cleanup(struct dlm_ls_info *lsinfo) } /* Cleanup default lockspace */ -int dlm_pthread_cleanup() +int dlm_pthread_cleanup(void) { struct dlm_ls_info *lsinfo = default_ls; @@ -1183,7 +1183,7 @@ static void *dlm_recv_thread(void *lsinfo) } /* Multi-threaded callers normally use this */ -int dlm_pthread_init() +int dlm_pthread_init(void) { if (open_default_lockspace()) return -1; diff --git a/dlm/libdlm/libdlm.h b/dlm/libdlm/libdlm.h index 8f977b5..17a552c 100644 --- a/dlm/libdlm/libdlm.h +++ b/dlm/libdlm/libdlm.h @@ -220,9 +220,9 @@ extern int dlm_ls_purge(dlm_lshandle_t lockspace, */ #ifdef _REENTRANT -extern int dlm_pthread_init(); +extern int dlm_pthread_init(void); extern int dlm_ls_pthread_init(dlm_lshandle_t lockspace); -extern int dlm_pthread_cleanup(); +extern int dlm_pthread_cleanup(void); #endif