diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-05-29 16:03:35 +0100 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-05-29 16:03:35 +0100 |
| commit | f5345900a0e36a83841ad06b11aa4bdb22ebb883 (patch) | |
| tree | 2217a11d2bf0d0bafcfbd1f9fc0f0fa1bfd91f29 /src/xine-utils | |
| parent | 2c946fa6a9b7b9b3edea5351c1f7021e51b7c177 (diff) | |
| parent | a5dfeeb30093308da4e614e4bc8fd642d01affcc (diff) | |
| download | xine-lib-f5345900a0e36a83841ad06b11aa4bdb22ebb883.tar.gz xine-lib-f5345900a0e36a83841ad06b11aa4bdb22ebb883.tar.bz2 | |
Merge from 1.1.
--HG--
rename : src/xine-utils/array.h => include/xine/array.h
rename : src/xine-utils/attributes.h => include/xine/attributes.h
rename : src/xine-engine/audio_out.h => include/xine/audio_out.h
rename : src/xine-engine/broadcaster.h => include/xine/broadcaster.h
rename : src/xine-engine/buffer.h => include/xine/buffer.h
rename : src/xine-engine/configfile.h => include/xine/configfile.h
rename : src/xine-utils/list.h => include/xine/list.h
rename : src/xine-engine/metronom.h => include/xine/metronom.h
rename : src/xine-engine/osd.h => include/xine/osd.h
rename : src/xine-utils/pool.h => include/xine/pool.h
rename : src/xine-engine/refcounter.h => include/xine/refcounter.h
rename : src/xine-utils/ring_buffer.h => include/xine/ring_buffer.h
rename : src/xine-engine/scratch.h => include/xine/scratch.h
rename : src/xine-utils/sorted_array.h => include/xine/sorted_array.h
rename : src/xine-engine/video_out.h => include/xine/video_out.h
rename : src/xine-engine/video_overlay.h => include/xine/video_overlay.h
rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h
rename : src/xine-utils/xineutils.h => include/xine/xineutils.h
rename : src/libspucc/cc_decoder.c => src/spu_dec/cc_decoder.c
Diffstat (limited to 'src/xine-utils')
| -rw-r--r-- | src/xine-utils/list.c | 2 | ||||
| -rw-r--r-- | src/xine-utils/pool.c | 2 | ||||
| -rw-r--r-- | src/xine-utils/xmlparser.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/xine-utils/list.c b/src/xine-utils/list.c index 3d97dd906..e57a6e604 100644 --- a/src/xine-utils/list.c +++ b/src/xine-utils/list.c @@ -67,7 +67,7 @@ struct xine_list_s { /* Allocates a new chunk of n elements * One malloc call is used to allocate the struct and the elements. */ -static xine_list_chunk_t *xine_list_alloc_chunk(size_t size) { +static xine_list_chunk_t *XINE_MALLOC xine_list_alloc_chunk(size_t size) { xine_list_chunk_t *new_chunk; size_t chunk_mem_size; diff --git a/src/xine-utils/pool.c b/src/xine-utils/pool.c index 60330ef53..9dbe4c736 100644 --- a/src/xine-utils/pool.c +++ b/src/xine-utils/pool.c @@ -55,7 +55,7 @@ struct xine_pool_s { /* Allocates a new chunk of n elements * One malloc call is used to allocate the struct and the elements. */ -static xine_pool_chunk_t *xine_pool_alloc_chunk(size_t object_size, size_t object_count) { +static xine_pool_chunk_t *XINE_MALLOC xine_pool_alloc_chunk(size_t object_size, size_t object_count) { xine_pool_chunk_t *new_chunk; size_t chunk_mem_size;; diff --git a/src/xine-utils/xmlparser.c b/src/xine-utils/xmlparser.c index 835d87b85..d8ecb251c 100644 --- a/src/xine-utils/xmlparser.c +++ b/src/xine-utils/xmlparser.c @@ -40,6 +40,7 @@ #include <xine/xineutils.h> #else #define lprintf(...) +#define XINE_MALLOC #endif #include <xine/xmllexer.h> #include <xine/xmlparser.h> @@ -85,7 +86,7 @@ static void free_xml_node(xml_node_t * node) { free(node); } -static xml_property_t * new_xml_property(void) { +static xml_property_t *XINE_MALLOC new_xml_property(void) { xml_property_t * new_property; new_property = (xml_property_t*) malloc(sizeof(xml_property_t)); |
