summaryrefslogtreecommitdiff
path: root/parseutils.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 13:44:17 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 14:35:34 -0800
commit75af06f5f8ffc41fabd100253aad222cb4ab8662 (patch)
treecbb2735d3981ae92b272b761eb966e9c910ecea1 /parseutils.c
parent265ea3a77418df2744575f1168f89a33f01e72d4 (diff)
downloadxorg-app-xkbcomp-75af06f5f8ffc41fabd100253aad222cb4ab8662.tar.gz
Replace uCalloc() and uTypedCalloc() with direct calloc() calls
All these wrappers did was mess with types. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'parseutils.c')
-rw-r--r--parseutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parseutils.c b/parseutils.c
index 539aff9..7498b75 100644
--- a/parseutils.c
+++ b/parseutils.c
@@ -435,7 +435,7 @@ CreateKeysymList(char *sym)
{
def->value.list.nSyms = 1;
def->value.list.szSyms = 4;
- def->value.list.syms = uTypedCalloc(4, char *);
+ def->value.list.syms = calloc(4, sizeof(char *));
if (def->value.list.syms != NULL)
{
def->value.list.syms[0] = sym;