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]

gfs2-utils: master - gfs_controld: fix declaration warning


Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=6cba23744711ff86e79c871b4be2bdef365e1906
Commit:        6cba23744711ff86e79c871b4be2bdef365e1906
Parent:        bf8cfdb18334a95ab8368c131393dd3f2ce955e5
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Tue Jun 23 11:22:44 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 11:22:44 2009 +0200

gfs_controld: fix declaration warning

split/gfs2-utils/group/gfs_controld/crc.c:61: warning: no previous prototype for â??cpgname_to_crcâ??

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 group/gfs_controld/cpg-new.c    |    2 --
 group/gfs_controld/gfs_daemon.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/group/gfs_controld/cpg-new.c b/group/gfs_controld/cpg-new.c
index d08ca03..399ac16 100644
--- a/group/gfs_controld/cpg-new.c
+++ b/group/gfs_controld/cpg-new.c
@@ -4,8 +4,6 @@
 
 #define MAX_JOURNALS 256
 
-uint32_t cpgname_to_crc(const char *data, int len);
-
 /* gfs_header types */
 enum {
 	GFS_MSG_PROTOCOL		= 1,
diff --git a/group/gfs_controld/gfs_daemon.h b/group/gfs_controld/gfs_daemon.h
index 2f2626e..eb691a8 100644
--- a/group/gfs_controld/gfs_daemon.h
+++ b/group/gfs_controld/gfs_daemon.h
@@ -229,4 +229,7 @@ void init_logging(void);
 void setup_logging(void);
 void close_logging(void);
 
+/* crc.c */
+uint32_t cpgname_to_crc(const char *data, int len);
+
 #endif


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