From: Jim Meyering <[email protected]>
---
lcr/uis.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lcr/uis.c b/lcr/uis.c
index a4f8d72..b91312b 100755
--- a/lcr/uis.c
+++ b/lcr/uis.c
@@ -62,9 +62,9 @@
#endif
#ifdef COROSYNC_LINUX
-static char *socketname = "lcr.socket";
+static const char *socketname = "lcr.socket";
#else
-static char *socketname = SOCKETDIR "/lcr.socket";
+static const char *socketname = SOCKETDIR "/lcr.socket";
#endif
static void uis_lcr_bind (int *server_fd)
@@ -104,7 +104,7 @@ static void uis_lcr_bind (int *server_fd)
}
struct uis_commands {
- char *command;
+ const char *command;
void (*cmd_handler) (char *);
};
@@ -190,4 +190,3 @@ __attribute__ ((constructor)) static int lcr_uis_ctors
(void)
return (0);
}
-
--
1.6.2.rc1.285.gc5f54
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais