X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fxmu.c;h=afe04be4f42b191821cb9e65bf308009e6851a92;hp=1f1261a733bced392d106237bcf32afd4fe94219;hb=3e447015251ce6dcde843cbed10d9033d5538622;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89 diff --git a/src/xmu.c b/src/xmu.c index 1f1261a..afe04be 100644 --- a/src/xmu.c +++ b/src/xmu.c @@ -53,10 +53,10 @@ #include -int XmuCursorNameToIndex (CONST char *name) +int XmuCursorNameToIndex (const char *name) { - static CONST struct _CursorName { - CONST char *name; + static const struct _CursorName { + const char *name; unsigned int shape; } cursor_names[] = { {"x_cursor", XC_X_cursor}, @@ -137,7 +137,7 @@ int XmuCursorNameToIndex (CONST char *name) {"watch", XC_watch}, {"xterm", XC_xterm}, }; - CONST struct _CursorName *table; + const struct _CursorName *table; int i; char tmp[40]; @@ -368,7 +368,7 @@ int XmuReadBitmapData ( } -int XmuReadBitmapDataFromFile (CONST char *filename, +int XmuReadBitmapDataFromFile (const char *filename, /* Remaining args are RETURNED */ unsigned int *width, unsigned int *height, @@ -530,7 +530,7 @@ int XmuSimpleErrorHandler (Display *dpy, XErrorEvent *errorp) return XmuPrintDefaultErrorMessage (dpy, errorp, stderr); } -void XmuCopyISOLatin1Lowered(char *dst, CONST char *src) +void XmuCopyISOLatin1Lowered(char *dst, const char *src) { unsigned char *dest = (unsigned char *) dst; unsigned char *source = (unsigned char *) src;