summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 14:30:21 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 15:36:06 -0800
commitf1757a005f471044da3f8e946a091b067996d270 (patch)
tree728522a236d51b64c86d0a867cbad4697b62f007
parent5655379ce89ab55f25a536972aaa310480de9432 (diff)
downloadxorg-app-xkbcomp-f1757a005f471044da3f8e946a091b067996d270.tar.gz
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.h7
-rw-r--r--xkbcomp.h2
2 files changed, 1 insertions, 8 deletions
diff --git a/utils.h b/utils.h
index 517ff39..0a4484b 100644
--- a/utils.h
+++ b/utils.h
@@ -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
diff --git a/xkbcomp.h b/xkbcomp.h
index 67b88b3..cd077ca 100644
--- a/xkbcomp.h
+++ b/xkbcomp.h
@@ -168,7 +168,7 @@ typedef struct _Expr
unsigned uval;
int ival;
char keyName[5];
- Opaque ptr;
+ void *ptr;
} value;
} ExprDef;