We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d138835 commit a4a9675Copy full SHA for a4a9675
co_hook_sys_call.cpp
@@ -822,18 +822,6 @@ struct hostent *gethostbyname(const char *name)
822
}
823
824
825
-struct hostent* co_gethostbyname(const char *name);
826
-
827
-struct hostent *gethostbyname(const char *name)
828
-{
829
- HOOK_SYS_FUNC( gethostbyname );
830
- if (!co_is_enable_sys_hook())
831
- {
832
- return g_sys_gethostbyname_func(name);
833
- }
834
- return co_gethostbyname(name);
835
-}
836
837
struct res_state_wrap
838
{
839
struct __res_state state;
0 commit comments