diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-10 14:30:21 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-11 15:36:06 -0800 |
commit | f1757a005f471044da3f8e946a091b067996d270 (patch) | |
tree | 728522a236d51b64c86d0a867cbad4697b62f007 | |
parent | 5655379ce89ab55f25a536972aaa310480de9432 (diff) |
Replace Opaque with direct usage of void *
Only one use was left after deleting the *alloc/free() wrappers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | utils.h | 7 | ||||
-rw-r--r-- | xkbcomp.h | 2 |
2 files changed, 1 insertions, 8 deletions
@@ -47,13 +47,6 @@ /***====================================================================***/ -#ifndef OPAQUE_DEFINED -typedef void *Opaque; -#endif -#ifndef NullOpaque -#define NullOpaque ((Opaque)NULL) -#endif - #ifndef BOOLEAN_DEFINED typedef char Boolean; #endif @@ -168,7 +168,7 @@ typedef struct _Expr unsigned uval; int ival; char keyName[5]; - Opaque ptr; + void *ptr; } value; } ExprDef; |