From 75af06f5f8ffc41fabd100253aad222cb4ab8662 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 10 Dec 2022 13:44:17 -0800 Subject: Replace uCalloc() and uTypedCalloc() with direct calloc() calls All these wrappers did was mess with types. Signed-off-by: Alan Coopersmith --- parseutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parseutils.c') 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; -- cgit v1.2.3