summaryrefslogtreecommitdiff
path: root/src/libcss.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2009-02-14 11:54:37 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2009-02-14 11:54:37 +0000
commit7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226 (patch)
tree6f8f57b3bac39f6fdb08de2e792266b3c82a263f /src/libcss.c
parent1233ce0a1a0e95966b8e1cf3bed01f7dcb63a360 (diff)
downloadlibcss-7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226.tar.gz
libcss-7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226.tar.bz2
Drop css_error_handler and rename css_alloc to css_allocator_fn
svn path=/trunk/libcss/; revision=6482
Diffstat (limited to 'src/libcss.c')
-rw-r--r--src/libcss.c4
1 files changed, 2 insertions, 2 deletions
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;