extern "c" fn closelog() callconv(.C) void