From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27179 invoked by alias); 22 Jun 2009 13:47:42 -0000 Received: (qmail 27173 invoked by alias); 22 Jun 2009 13:47:42 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-2.1 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 - rgmanager: Fix build warnings in msg_socket.c 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: 9aed96847fc8c4e8fbd5ff4c868d2a8e54b084a6 X-Git-Newrev: 8b7d32325e94ca7452c21449a319faf545690585 From: Lon Hohberger Message-Id: <20090622133245.5F23312025B@lists.fedorahosted.org> Date: Mon, 22 Jun 2009 13:47: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/msg00606.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=8b7d32325e94ca7452c21449a319faf545690585 Commit: 8b7d32325e94ca7452c21449a319faf545690585 Parent: 9aed96847fc8c4e8fbd5ff4c868d2a8e54b084a6 Author: Lon Hohberger AuthorDate: Mon Jun 15 15:57:22 2009 -0400 Committer: Lon Hohberger CommitterDate: Mon Jun 22 09:32:02 2009 -0400 rgmanager: Fix build warnings in msg_socket.c Signed-off-by: Lon Hohberger --- 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 #include #include #include #include #include +#include #include #include #include @@ -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);