Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 10a90283 authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

Delete dead code in res_comp.cpp and misc cleanups

No functionality changes, this is mostly meant to improve our code
coverage and cleanup our headers a bit.

 - delete dead functions res_ownok() and res_mailok()
 - Move prototypes of the remaining functions to the new header res_comp.h
 - Replace resolv_private.h with res_comp.h as needed
 - Drop the dependency on Bionic's <resolv.h> wherever possible
 - Eliminate the horrible maybe_XXX() macros
 - Make res_hnok() and res_dnok() return a proper bool instead of 0 and 1

Change-Id: Ic2e27753355d873925044a7561ccb78bd2c2d162
parent f1deb1c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment