public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - rgmanager: Fix build warnings in msg_socket.c
Date: Mon, 22 Jun 2009 13:47:00 -0000	[thread overview]
Message-ID: <20090622133245.5F23312025B@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=8b7d32325e94ca7452c21449a319faf545690585
Commit:        8b7d32325e94ca7452c21449a319faf545690585
Parent:        9aed96847fc8c4e8fbd5ff4c868d2a8e54b084a6
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Mon Jun 15 15:57:22 2009 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Mon Jun 22 09:32:02 2009 -0400

rgmanager: Fix build warnings in msg_socket.c

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/src/clulib/msg_socket.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/rgmanager/src/clulib/msg_socket.c b/rgmanager/src/clulib/msg_socket.c
index 6665b56..77de352 100644
--- a/rgmanager/src/clulib/msg_socket.c
+++ b/rgmanager/src/clulib/msg_socket.c
@@ -1,10 +1,10 @@
 #define _MESSAGE_BUILD
-#include <message.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <sys/types.h>
+#include <message.h>
 #include <stdlib.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
@@ -181,7 +181,7 @@ sock_msg_fd_isset(msgctx_t *ctx, fd_set *fds)
 }
 
 
-int
+static int
 sock_msg_fd_clr(msgctx_t *ctx, fd_set *fds)
 {
 	errno = EINVAL;
@@ -268,7 +268,7 @@ sock_msg_receive(msgctx_t *ctx, void *msg, size_t maxlen, int timeout)
   If the speficied node is 0, this connects via the socket in
   /var/run/cluster...
  */
-int
+static int
 sock_msg_open(int type, int nodeid, int port, msgctx_t *ctx, int timeout)
 {
 	errno = EINVAL;
@@ -289,7 +289,7 @@ sock_msg_open(int type, int nodeid, int port, msgctx_t *ctx, int timeout)
 /**
   With a socket, the O/S cleans up the buffers for us.
  */
-int
+static int
 sock_msg_close(msgctx_t *ctx)
 {
 	errno = EINVAL;
@@ -394,7 +394,7 @@ sock_msg_init(msgctx_t *ctx)
 }
 
 
-void
+static void
 sock_msg_print(msgctx_t *ctx)
 {
 	printf("Socket Message Context; fd = %d\n", ctx->u.local_info.sockfd);


                 reply	other threads:[~2009-06-22 13:47 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=20090622133245.5F23312025B@lists.fedorahosted.org \
    --to=lon@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).