upload tizen2.0 source
[framework/uifw/xorg/lib/libxres.git] / src / XRes.c
old mode 100755 (executable)
new mode 100644 (file)
index 518ad01..6091c96
@@ -16,7 +16,7 @@
 
 static XExtensionInfo _xres_ext_info_data;
 static XExtensionInfo *xres_ext_info = &_xres_ext_info_data;
-static char *xres_extension_name = XRES_NAME;
+static const char *xres_extension_name = XRES_NAME;
 
 #define XResCheckExtension(dpy,i,val) \
   XextCheckExtension (dpy, i, xres_extension_name, val)
@@ -38,7 +38,7 @@ static XExtensionHooks xres_extension_hooks = {
 };
 
 static XEXT_GENERATE_FIND_DISPLAY (find_display, xres_ext_info,
-                                   xres_extension_name, 
+                                   xres_extension_name,
                                    &xres_extension_hooks,
                                    0, NULL)
 
@@ -186,7 +186,7 @@ Status XResQueryClientResources (
             _XEatData(dpy, rep.length << 2);
         }
     }
-    
+
     UnlockDisplay (dpy);
     SyncHandle ();
     return result;