diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index a886fe10a..787c25d8e 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -2105,6 +2105,8 @@ pexElementCb( void * vpex, void * userData ) diffs->elements[diffs->elementCount++] = *pex; } +typedef void ( tr_set_func )( void * element, void * userData ); + /** * @brief find the differences and commonalities in two sorted sets * @param a the first set diff --git a/libtransmission/utils.h b/libtransmission/utils.h index 930b4c8dd..7ca922ca1 100644 --- a/libtransmission/utils.h +++ b/libtransmission/utils.h @@ -402,8 +402,6 @@ char* tr_strsep( char ** str, const char * delim ); **** ***/ -typedef void ( tr_set_func )( void * element, void * userData ); - int compareInt( const void * va, const void * vb ); void tr_sha1_to_hex( char * out, const uint8_t * sha1 ) TR_GNUC_NONNULL(1,2);