public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: dlm: master - dlm: fix declaration warning
Date: Tue, 23 Jun 2009 09:01:00 -0000	[thread overview]
Message-ID: <20090623090109.83FD112037E@lists.fedorahosted.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

Gitweb:        http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=9df61209a5f430b3a7a0c3884bd8649b0ea1ac7b
Commit:        9df61209a5f430b3a7a0c3884bd8649b0ea1ac7b
Parent:        e4b3cfe6af126234715bc2bb51c0e4d1c8bab4ab
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Tue Jun 23 10:57:57 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 10:57:57 2009 +0200

dlm: fix declaration warning

split/dlm/group/dlm_controld/crc.c:61: warning: no previous prototype for ‘cpgname_to_crc’bash: split/dlm/group/dlm_controld/crc.c:61

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

diff --git a/group/dlm_controld/cpg.c b/group/dlm_controld/cpg.c
index 3e7a48f..9e26028 100644
--- a/group/dlm_controld/cpg.c
+++ b/group/dlm_controld/cpg.c
@@ -1,8 +1,6 @@
 #include "dlm_daemon.h"
 #include "config.h"
 
-uint32_t cpgname_to_crc(const char *data, int len);
-
 struct protocol_version {
 	uint16_t major;
 	uint16_t minor;
diff --git a/group/dlm_controld/dlm_daemon.h b/group/dlm_controld/dlm_daemon.h
index 018f8c8..5623744 100644
--- a/group/dlm_controld/dlm_daemon.h
+++ b/group/dlm_controld/dlm_daemon.h
@@ -307,5 +307,8 @@ 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
 


                 reply	other threads:[~2009-06-23  9:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090623090109.83FD112037E@lists.fedorahosted.org \
    --to=fabbione@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).