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: cluster: STABLE3 - libccs: more const around
Date: Mon, 27 Apr 2009 13:57:00 -0000	[thread overview]
Message-ID: <20090427135652.8F69A1202D2@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=7a96abb920014a299b10506bd6f4b73d42efdc2f
Commit:        7a96abb920014a299b10506bd6f4b73d42efdc2f
Parent:        5168c6910748904e82de6f7648399ea621047157
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon Apr 27 15:55:43 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon Apr 27 15:55:43 2009 +0200

libccs: more const around

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 config/libs/libccsconfdb/ccs.h    |    2 +-
 config/libs/libccsconfdb/extras.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/libs/libccsconfdb/ccs.h b/config/libs/libccsconfdb/ccs.h
index bf2c8e1..afa57a6 100644
--- a/config/libs/libccsconfdb/ccs.h
+++ b/config/libs/libccsconfdb/ccs.h
@@ -12,7 +12,7 @@ int ccs_get(int desc, const char *query, char **rtn);
 int ccs_get_list(int desc, const char *query, char **rtn);
 int ccs_set(int desc, const char *path, char *val);
 int ccs_lookup_nodename(int desc, const char *nodename, char **rtn);
-void ccs_read_logging(int fd, char *name, int *debug, int *mode,
+void ccs_read_logging(int fd, const char *name, int *debug, int *mode,
                       int *syslog_facility, int *syslog_priority,
                       int *logfile_priority, char *logfile);
 extern int fullxpath;
diff --git a/config/libs/libccsconfdb/extras.c b/config/libs/libccsconfdb/extras.c
index c4a75f4..b0cf55b 100644
--- a/config/libs/libccsconfdb/extras.c
+++ b/config/libs/libccsconfdb/extras.c
@@ -294,7 +294,7 @@ static void create_daemon_path(const char *name, const char *field, char *path)
    is set to LOG_DEBUG; all debug and logfile_priority values from
    cluster.conf are ignored. */
 
-void ccs_read_logging(int fd, char *name, int *debug, int *mode,
+void ccs_read_logging(int fd, const char *name, int *debug, int *mode,
 		      int *syslog_facility, int *syslog_priority,
 		      int *logfile_priority, char *logfile)
 {


                 reply	other threads:[~2009-04-27 13:57 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=20090427135652.8F69A1202D2@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: link
Be 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).