public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: David Teigland <teigland@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: STABLE3 - gfs_control: make functions static Date: Mon, 11 May 2009 15:13:00 -0000 [thread overview] Message-ID: <20090511151305.4D5481201EC@lists.fedorahosted.org> (raw) 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:
reply other threads:[~2009-05-11 15:13 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=20090511151305.4D5481201EC@lists.fedorahosted.org \ --to=teigland@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: linkBe 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).