summaryrefslogtreecommitdiffstats
path: root/ta/ta_utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ta/ta_utils.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ta/ta_utils.c b/ta/ta_utils.c
index 6246968..294ad8d 100644
--- a/ta/ta_utils.c
+++ b/ta/ta_utils.c
@@ -265,27 +265,6 @@ bool ta_vasprintf_append_buffer(char **str, const char *fmt, va_list ap)
return ta_vasprintf_append_at(str, size, fmt, ap);
}
-
-void *ta_oom_p(void *p)
-{
- if (!p)
- abort();
- return p;
-}
-
-void ta_oom_b(bool b)
-{
- if (!b)
- abort();
-}
-
-char *ta_oom_s(char *s)
-{
- if (!s)
- abort();
- return s;
-}
-
void *ta_xmemdup(void *ta_parent, void *ptr, size_t size)
{
void *new = ta_memdup(ta_parent, ptr, size);