Cluster Project branch, STABLE2, updated. cluster-2.03.02-13-g45932c8

fabbione@sourceware.org fabbione@sourceware.org
Fri May 16 06:51:00 GMT 2008


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=45932c80f1a21c5c6b7486a9026a2e63e9b14d25

The branch, STABLE2 has been updated
       via  45932c80f1a21c5c6b7486a9026a2e63e9b14d25 (commit)
      from  776b7f3d3d78891d2c79818c0fa9dc54c8449a13 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 45932c80f1a21c5c6b7486a9026a2e63e9b14d25
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Fri May 16 08:49:06 2008 +0200

    [CCS] Make a bunch of functions static
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 ccs/lib/libccs.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ccs/lib/libccs.c b/ccs/lib/libccs.c
index 2b9f179..f8e825a 100644
--- a/ccs/lib/libccs.c
+++ b/ccs/lib/libccs.c
@@ -131,7 +131,7 @@ static int setup_interface_ipv4(int *sp, int port){
 }
 
 
-int
+static int
 setup_interface_local(int *sp)
 {
   struct sockaddr_un sun;
@@ -310,7 +310,7 @@ static int do_request(char *buffer){
 *
 * Returns: >= 0 on success, < 0 on error
 */
-int _ccs_connect(const char *cluster_name, int flags){
+static int _ccs_connect(const char *cluster_name, int flags){
   int error = 0;
   char *buffer = NULL;
   comm_header_t *ch = NULL;
@@ -447,7 +447,7 @@ int ccs_disconnect(int desc){
  *
  * Returns: 0 on success, < 0 on failure
  */
-int _ccs_get(int desc, const char *query, char **rtn, int list){
+static int _ccs_get(int desc, const char *query, char **rtn, int list){
   int error = 0;
   char *buffer = NULL;
   comm_header_t *ch = NULL;


hooks/post-receive
--
Cluster Project



More information about the Cluster-cvs mailing list