This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dlm: master - libdlmcontrol: make function static


Gitweb:        http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=a85ecdfac42395f348edccb10eb44672f6a5c10c
Commit:        a85ecdfac42395f348edccb10eb44672f6a5c10c
Parent:        02e22e0ee7476dd4f171fa17beac00330eba2897
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 06:49:00 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 09:42:24 2009 +0200

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 <fdinitto@redhat.com>
---
 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 f3faec2..68f2e19 100644
--- a/dlm/libdlmcontrol/main.c
+++ b/dlm/libdlmcontrol/main.c
@@ -88,7 +88,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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]