]> git.proxmox.com Git - mirror_corosync.git/commitdiff
change some char * to const char * to match usage in system in lcr.
authorSteven Dake <sdake@redhat.com>
Tue, 10 Mar 2009 11:57:21 +0000 (11:57 +0000)
committerSteven Dake <sdake@redhat.com>
Tue, 10 Mar 2009 11:57:21 +0000 (11:57 +0000)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1823 fd59a12c-fef9-0310-b244-a6a79926bd2f

include/corosync/lcr/lcr_comp.h
include/corosync/lcr/lcr_ifact.h
lcr/lcr_ifact.c

index 7f20f5ed2bf2ce13c1db4a73203de52908321fac..286b127384828471cd6a7a7af524e4a75b7a4f49 100644 (file)
@@ -35,7 +35,7 @@
  * LCR Interface
  */
 struct lcr_iface {
-       char *name;                     /* Name of the interface */
+       const char *name;                       /* Name of the interface */
        int version;                    /* Version of this interface */
        int *versions_replace;          /* Versions that this interface can replace */
        int versions_replace_count;     /* Count of entries in version_replace */
index 5454722df02252aefbf963e51923af0273d15a0b..9124b2ba9e9b9d1f79897c803442a5cf6d60d998 100644 (file)
@@ -35,7 +35,7 @@
 
 int lcr_ifact_reference (
        hdb_handle_t *handle,
-       char *iface_name,
+       const char *iface_name,
        int version,
        void **interface,
        void *context);
index b156df205a934946924693d4c0cbe6fe237b2535..de779cca2c9f57dc77dcb31989325203cdfcf32b 100644 (file)
@@ -423,7 +423,7 @@ static unsigned int lcr_initialized = 0;
 
 int lcr_ifact_reference (
        hdb_handle_t *iface_handle,
-       char *iface_name,
+       const char *iface_name,
        int version,
        void **iface,
        void *context)