summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-10-07 13:21:48 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-10-07 13:21:48 -0700
commita99fbad09ab850e65ddd57e4d4488e4726295e14 (patch)
tree84db624bf35f486c4742532a320e1d48f16f523d /src
parent3bceaeb3192ca75a14854d614e1621d28fb82274 (diff)
Constify some arguments in libICE to clear warnings in libSM
This patch avoids the gcc (3.4.6) warnings: ../../libSM-1.0.3/src/sm_client.c:104: warning: passing arg 7 of `IceRegisterForProtocolSetup' from incompatible pointer type ../../libSM-1.0.3/src/sm_manager.c:168: warning: passing arg 7 of `IceRegisterForProtocolReply' from incompatible pointer type when compiling libSM
Diffstat (limited to 'src')
-rw-r--r--src/register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/register.c b/src/register.c
index bcf95a2..501725f 100644
--- a/src/register.c
+++ b/src/register.c
@@ -43,7 +43,7 @@ char *release;
int versionCount;
IcePoVersionRec *versionRecs;
int authCount;
-char **authNames;
+const char **authNames;
IcePoAuthProc *authProcs;
IceIOErrorProc IOErrorProc;
@@ -144,7 +144,7 @@ char *release;
int versionCount;
IcePaVersionRec *versionRecs;
int authCount;
-char **authNames;
+const char **authNames;
IcePaAuthProc *authProcs;
IceHostBasedAuthProc hostBasedAuthProc;
IceProtocolSetupProc protocolSetupProc;