- removed unused functions - changed some public functions to static that are never called from outside client.c - removed unused types and function prototypes - renamed dns_client_destroy() to dns_client_detach()