X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Flisp-union.h;h=648f8242b0c7f8417df999b10f034da86ba91bb4;hp=54088cf91e88379d414099402c8237afd0afb6b5;hb=3e447015251ce6dcde843cbed10d9033d5538622;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89 diff --git a/src/lisp-union.h b/src/lisp-union.h index 54088cf..648f824 100644 --- a/src/lisp-union.h +++ b/src/lisp-union.h @@ -76,7 +76,7 @@ union Lisp_Object GCC to accept any (yes, any) pointer as the argument of a function declared to accept a Lisp_Object. */ struct nosuchstruct *v; - CONST struct nosuchstruct *cv; + const struct nosuchstruct *cv; } Lisp_Object; @@ -136,9 +136,9 @@ extern Lisp_Object Qnull_pointer, Qzero; #define VOID_TO_LISP(larg,varg) \ ((void) ((larg).v = (struct nosuchstruct *) (varg))) #define CVOID_TO_LISP(larg,varg) \ - ((void) ((larg).cv = (CONST struct nosuchstruct *) (varg))) + ((void) ((larg).cv = (const struct nosuchstruct *) (varg))) #define LISP_TO_VOID(larg) ((void *) ((larg).v)) -#define LISP_TO_CVOID(larg) ((CONST void *) ((larg).cv)) +#define LISP_TO_CVOID(larg) ((const void *) ((larg).cv)) /* Convert a Lisp_Object into something that can't be used as an lvalue. Useful for type-checking. */