From 7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 14 Feb 2009 11:54:37 +0000 Subject: Drop css_error_handler and rename css_alloc to css_allocator_fn svn path=/trunk/libcss/; revision=6482 --- src/libcss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libcss.c') diff --git a/src/libcss.c b/src/libcss.c index b5b99c9..aeb1874 100644 --- a/src/libcss.c +++ b/src/libcss.c @@ -22,7 +22,7 @@ * \return CSS_OK on success, applicable error otherwise. */ css_error css_initialise(const char *aliases_file, - css_alloc alloc, void *pw) + css_allocator_fn alloc, void *pw) { if (aliases_file == NULL || alloc == NULL) return CSS_BADPARM; @@ -38,7 +38,7 @@ css_error css_initialise(const char *aliases_file, * \param pw Pointer to client-specific private data (may be NULL) * \return CSS_OK on success, applicable error otherwise. */ -css_error css_finalise(css_alloc alloc, void *pw) +css_error css_finalise(css_allocator_fn alloc, void *pw) { if (alloc == NULL) return CSS_BADPARM; -- cgit v1.2.3