public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: "Fabio M. Di Nitto" <fabbione@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: gfs2-utils: master - gfs_control: make functions static Date: Tue, 23 Jun 2009 09:25:00 -0000 [thread overview] Message-ID: <20090623092450.D2FE912037D@lists.fedorahosted.org> (raw) 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:
reply other threads:[~2009-06-23 9:25 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=20090623092450.D2FE912037D@lists.fedorahosted.org \ --to=fabbione@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).