diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-10 13:44:17 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-11 14:35:34 -0800 |
commit | 75af06f5f8ffc41fabd100253aad222cb4ab8662 (patch) | |
tree | cbb2735d3981ae92b272b761eb966e9c910ecea1 /xkbcomp.c | |
parent | 265ea3a77418df2744575f1168f89a33f01e72d4 (diff) |
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 'xkbcomp.c')
-rw-r--r-- | xkbcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -760,7 +760,7 @@ parseArgs(int argc, char *argv[]) else if ((!outputFile) && (inputFile) && (strcmp(inputFile, "-") == 0)) { int len = strlen("stdin") + strlen(fileTypeExt[outputFormat]) + 2; - outputFile = uTypedCalloc(len, char); + outputFile = calloc(len, sizeof(char)); if (outputFile == NULL) { WSGO("Cannot allocate space for output file name\n"); @@ -786,7 +786,7 @@ parseArgs(int argc, char *argv[]) base = inputMap; len = strlen(base) + strlen(fileTypeExt[outputFormat]) + 2; - outputFile = uTypedCalloc(len, char); + outputFile = calloc(len, sizeof(char)); if (outputFile == NULL) { WSGO("Cannot allocate space for output file name\n"); @@ -812,7 +812,7 @@ parseArgs(int argc, char *argv[]) name = inDpyName; len = strlen(name) + strlen(fileTypeExt[outputFormat]) + 2; - outputFile = uTypedCalloc(len, char); + outputFile = calloc(len, sizeof(char)); if (outputFile == NULL) { WSGO("Cannot allocate space for output file name\n"); |