diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-10-07 13:21:48 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-10-07 13:21:48 -0700 |
commit | a99fbad09ab850e65ddd57e4d4488e4726295e14 (patch) | |
tree | 84db624bf35f486c4742532a320e1d48f16f523d /include/X11 | |
parent | 3bceaeb3192ca75a14854d614e1621d28fb82274 (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 'include/X11')
-rw-r--r-- | include/X11/ICE/ICElib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/ICE/ICElib.h b/include/X11/ICE/ICElib.h index eb7a3aa..5950ecd 100644 --- a/include/X11/ICE/ICElib.h +++ b/include/X11/ICE/ICElib.h @@ -214,7 +214,7 @@ extern int IceRegisterForProtocolSetup ( int /* versionCount */, IcePoVersionRec * /* versionRecs */, int /* authCount */, - char ** /* authNames */, + const char ** /* authNames */, IcePoAuthProc * /* authProcs */, IceIOErrorProc /* IOErrorProc */ ); @@ -226,7 +226,7 @@ extern int IceRegisterForProtocolReply ( int /* versionCount */, IcePaVersionRec * /* versionRecs */, int /* authCount */, - char ** /* authNames */, + const char ** /* authNames */, IcePaAuthProc * /* authProcs */, IceHostBasedAuthProc /* hostBasedAuthProc */, IceProtocolSetupProc /* protocolSetupProc */, |