public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - gfs_control: make functions static
@ 2009-05-11 15:13 David Teigland
0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-05-11 15:13 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=adcf6c0d8db15e0179f254a67cdc03a8b45f8174
Commit: adcf6c0d8db15e0179f254a67cdc03a8b45f8174
Parent: c1624bb4b6815932ba3c378cd8a808fa088ad2b0
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Wed May 6 09:08:50 2009 +0200
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Mon May 11 10:05:06 2009 -0500
gfs_control: make functions static
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
group/gfs_control/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/group/gfs_control/main.c b/group/gfs_control/main.c
index 7db14e7..d12b47a 100644
--- a/group/gfs_control/main.c
+++ b/group/gfs_control/main.c
@@ -155,7 +155,7 @@ static int do_write(int fd, void *buf, size_t count)
return 0;
}
-void do_leave(char *table)
+static void do_leave(char *table)
{
struct gfsc_mount_args ma;
int rv;
@@ -169,7 +169,7 @@ void do_leave(char *table)
fprintf(stderr, "gfs_controld leave error %d\n", rv);
}
-char *mg_flags_str(uint32_t flags)
+static char *mg_flags_str(uint32_t flags)
{
static char str[128];
int i = 0;
@@ -214,7 +214,7 @@ char *mg_flags_str(uint32_t flags)
return str;
}
-char *node_mount_str(uint32_t flags)
+static char *node_mount_str(uint32_t flags)
{
static char str[128];
int i = 0;
@@ -246,7 +246,7 @@ char *node_mount_str(uint32_t flags)
return str;
}
-int member_int(struct gfsc_node *n)
+static int member_int(struct gfsc_node *n)
{
if (n->flags & GFSC_NF_DISALLOWED)
return -1;
@@ -255,7 +255,7 @@ int member_int(struct gfsc_node *n)
return 0;
}
-const char *condition_str(int cond)
+static const char *condition_str(int cond)
{
switch (cond) {
case 0:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-11 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-11 15:13 cluster: STABLE3 - gfs_control: make functions static David Teigland
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).