summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--di/pm.c6
-rw-r--r--include/pm.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/di/pm.c b/di/pm.c
index 8b10ea2..ddcf9fc 100644
--- a/di/pm.c
+++ b/di/pm.c
@@ -246,8 +246,8 @@ void
SendGetProxyAddrReply (
IceConn requestor_iceConn,
int status,
- char *addr,
- char *error)
+ const char *addr,
+ const char *error)
{
int len = STRING_BYTES (addr) + STRING_BYTES (error);
@@ -269,7 +269,7 @@ SendGetProxyAddrReply (
static int
-casecmp(char *str1, char *str2)
+casecmp(const char *str1, const char *str2)
{
char buf1[512],buf2[512];
char c, *s;
diff --git a/include/pm.h b/include/pm.h
index 95e71bd..1aef4eb 100644
--- a/include/pm.h
+++ b/include/pm.h
@@ -44,8 +44,8 @@ extern void ConnectToProxyManager (
extern void SendGetProxyAddrReply (
IceConn /*requestor_iceConn*/,
int /*status*/,
- char * /*addr*/,
- char * /*error*/
+ const char * /*addr*/,
+ const char * /*error*/
);
extern void HandleProxyManagerConnection (