summaryrefslogtreecommitdiff
path: root/src/xine-utils/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-utils/utils.c')
-rw-r--r--src/xine-utils/utils.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c
index 63d7d343b..8d7c405dc 100644
--- a/src/xine-utils/utils.c
+++ b/src/xine-utils/utils.c
@@ -274,16 +274,6 @@ void *xine_xcalloc(size_t nmemb, size_t size) {
return ptr;
}
-void *xine_xmalloc_aligned(size_t alignment, size_t size, void **base) {
-
- char *ptr;
-
- *base = ptr = xine_xmalloc (size+alignment);
-
- while ((size_t) ptr % alignment)
- ptr++;
-
- return ptr;
}
void *xine_memdup (const void *src, size_t length)
@@ -297,8 +287,6 @@ void *xine_memdup0 (const void *src, size_t length)
char *dst = xine_xmalloc (length + 1);
dst[length] = 0;
return xine_fast_memcpy (dst, src, length);
-}
-
#ifdef WIN32
/*
* Parse command line with Windows XP syntax and copy the command (argv[0]).