X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fjpilot.c;h=046cdb1dcab2c204dd60925c46354c1edd8ebb65;hp=629c3e5390790ebb0c4860c53a5e2f4788c268a6;hb=8ebef0a87aca3e6cdebd517521d84a216f265445;hpb=2db1dd255c3fcd9e7d4c3d4ec0cbd8967cade582 diff --git a/src/jpilot.c b/src/jpilot.c index 629c3e539..046cdb1dc 100644 --- a/src/jpilot.c +++ b/src/jpilot.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #ifdef HAVE_LIBPISOCK_PI_ARGS_H @@ -1622,26 +1621,6 @@ gboolean jpilot_test_custom_label( JPilotFile *pilotFile, const gchar *labelName * Return: TRUE if library available. */ gboolean jpilot_test_pilot_lib( void ) { - void *handle, *fun; - - handle = dlopen( PILOT_LINK_LIB_NAME, RTLD_LAZY ); - if( ! handle ) { - return FALSE; - } - - /* Test for symbols we need */ - fun = dlsym( handle, "unpack_Address" ); - if( ! fun ) { - dlclose( handle ); - return FALSE; - } - - fun = dlsym( handle, "unpack_AddressAppInfo" ); - if( ! fun ) { - dlclose( handle ); - return FALSE; - } - dlclose( handle ); return TRUE; }