Reverted the change on dn_expand / res_query symbol from libresolv

This commit is contained in:
ptitSeb 2022-01-15 17:31:38 +01:00
parent 4f5aac8f50
commit 34b99bfede
3 changed files with 3 additions and 11 deletions

View File

@ -3053,10 +3053,6 @@ wrappedlibpthread:
- iFpppp:
- pthread_create
wrappedlibresolv:
- iFpiipi:
- __res_query
- iFppppi:
- __dn_expand
wrappedlibrt:
- iFupp:
- timer_create

View File

@ -11,11 +11,7 @@
#define ADDED_FUNCTIONS()
#endif
typedef int32_t (*iFpiipi_t)(void*, int32_t, int32_t, void*, int32_t);
typedef int32_t (*iFppppi_t)(void*, void*, void*, void*, int32_t);
#define SUPER() ADDED_FUNCTIONS() \
GO(__res_query, iFpiipi_t) \
GO(__dn_expand, iFppppi_t)
#define SUPER() ADDED_FUNCTIONS()
#endif // __wrappedlibresolvTYPES_H_

View File

@ -6,7 +6,7 @@ GO(__b64_ntop, iFpLpL)
GO(__b64_pton, iFppL)
GO(__dn_comp, iFppipp)
GO(__dn_count_labels, iFp)
GO2(__dn_expand, iFppppi, dn_expand)
GO(__dn_expand, iFppppi)
GOW(dn_expand, iFppppi)
GO(__dn_skipname, iFpp)
GO(__fp_nquery, vFpip)
@ -92,7 +92,7 @@ GO(__res_nsearch, iFppiipi)
//DATA(_res_opcodes, 4)
GO(__res_ownok, iFp)
GO(__res_queriesmatch, iFpppp)
GO2(__res_query, iFpiipi, res_query)
GO(__res_query, iFpiipi)
GOW(res_query, iFpiipi)
GO(__res_querydomain, iFppiipi)
GOW(res_querydomain, iFppiipi)