public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* gfs2-utils: master - gfs_control: make functions static
@ 2009-06-23  9:25 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-06-23  9:25 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=4e7c66348809fa494563f622a24f6049dcf23dd0
Commit:        4e7c66348809fa494563f622a24f6049dcf23dd0
Parent:        e9f477b7f3f8572140656da99eee49af81e8037e
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 09:08:50 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 11:13:17 2009 +0200

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 dac0ae2..59befcf 100644
--- a/group/gfs_control/main.c
+++ b/group/gfs_control/main.c
@@ -156,7 +156,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;
@@ -170,7 +170,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;
@@ -215,7 +215,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;
@@ -247,7 +247,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;
@@ -256,7 +256,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-06-23  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23  9:25 gfs2-utils: master - gfs_control: make functions static Fabio M. Di Nitto

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).