upload tizen2.0 source
[framework/uifw/xorg/lib/libice.git] / src / register.c
old mode 100755 (executable)
new mode 100644 (file)
index 5b67bf2..20a6ad0
@@ -34,9 +34,9 @@ Author: Ralph Mor, X Consortium
 
 int
 IceRegisterForProtocolSetup (
-       char                    *protocolName,
-       char                    *vendor,
-       char                    *release,
+       const char              *protocolName,
+       const char              *vendor,
+       const char              *release,
        int                     versionCount,
        IcePoVersionRec         *versionRecs,
        int                     authCount,
@@ -56,7 +56,7 @@ IceRegisterForProtocolSetup (
                /*
                 * We've already registered this protocol.
                 */
-               
+
                return (i);
            }
            else
@@ -64,7 +64,7 @@ IceRegisterForProtocolSetup (
                break;
            }
        }
-           
+
     if (i <= _IceLastMajorOpcode)
     {
        p = _IceProtocols[i - 1].orig_client =
@@ -131,9 +131,9 @@ IceRegisterForProtocolSetup (
 \f
 int
 IceRegisterForProtocolReply (
-       char                            *protocolName,
-       char                            *vendor,
-       char                            *release,
+       const char                      *protocolName,
+       const char                      *vendor,
+       const char                      *release,
        int                             versionCount,
        IcePaVersionRec                 *versionRecs,
        int                             authCount,
@@ -156,7 +156,7 @@ IceRegisterForProtocolReply (
                /*
                 * We've already registered this protocol.
                 */
-               
+
                return (i);
            }
            else
@@ -164,7 +164,7 @@ IceRegisterForProtocolReply (
                break;
            }
        }
-           
+
 
     if (i <= _IceLastMajorOpcode)
     {