summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-07-20 13:07:30 +0300
committerRan Benita <ran234@gmail.com>2012-07-23 00:45:34 +0300
commit8b0e9f929c66a0ceaed599cd1730d0782c486353 (patch)
tree67be15bc39c93c90f8b025812b40253e44321dbf /src/utils.h
parent5e164ff1f9b3539ddf1d3adea8225c1549d343db (diff)
downloadxorg-lib-libxkbcommon-8b0e9f929c66a0ceaed599cd1730d0782c486353.tar.gz
utils: remove uTypedAlloc/Calloc
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utils.h b/src/utils.h
index a516205..808086c 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -42,9 +42,6 @@
*/
#define UNCONSTIFY(const_ptr) ((void *) (uintptr_t) (const_ptr))
-#define uTypedAlloc(t) ((t *) malloc(sizeof(t)))
-#define uTypedCalloc(n, t) ((t *) calloc((n), sizeof(t)))
-
#define uDupString(s) ((s) ? strdup(s) : NULL)
#define uStringText(s) ((s) == NULL ? "<NullString>" : (s))
#define uStrCasePrefix(s1, s2) (strncasecmp((s1), (s2), strlen(s1)) == 0)