From 20257202af90ee247b8cf744ab39cf2a17bd1e75 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 2 Jan 2009 07:52:17 +0000 Subject: Fix incorrect prototype for accesslist_deinit --- ot_accesslist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ot_accesslist.c b/ot_accesslist.c index 3b8e8a9..0cb6fe7 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c @@ -23,15 +23,15 @@ char *g_accesslist_filename = NULL; static ot_vector accesslist; -static void access_list_deinit( void ) { - accesslist_reset( ); -} - static void accesslist_reset( void ) { free( accesslist.data ); byte_zero( &accesslist, sizeof( accesslist ) ); } +void accesslist_deinit( void ) { + accesslist_reset( ); +} + static int accesslist_addentry( ot_hash *infohash ) { int eger; void *insert = vector_find_or_insert( &accesslist, infohash, OT_HASH_COMPARE_SIZE, OT_HASH_COMPARE_SIZE, &eger ); -- cgit v1.2.3