mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-14 16:23:25 -05:00
nit2
git-svn-id: file:///svn/unbound/trunk@2069 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
e36a4b1bc5
commit
553e2de09b
1 changed files with 2 additions and 2 deletions
|
|
@ -177,6 +177,8 @@ void alloc_set_id_cleanup(struct alloc_cache* alloc, void (*cleanup)(void*),
|
|||
void* arg);
|
||||
|
||||
#ifdef UNBOUND_ALLOC_LITE
|
||||
# include "ldns/packet.h"
|
||||
# include "openssl/ssl.h"
|
||||
# define malloc(s) unbound_stat_malloc_lite(s, __FILE__, __LINE__, __func__)
|
||||
# define calloc(n,s) unbound_stat_calloc_lite(n, s, __FILE__, __LINE__, __func__)
|
||||
# define free(p) unbound_stat_free_lite(p, __FILE__, __LINE__, __func__)
|
||||
|
|
@ -204,9 +206,7 @@ char* unbound_lite_wrapstr(char* s);
|
|||
# define ldns_pkt2str(p) unbound_lite_wrapstr(ldns_pkt2str(p))
|
||||
# define ldns_pkt_rcode2str(r) unbound_lite_wrapstr(ldns_pkt_rcode2str(r))
|
||||
# define ldns_pkt2wire(a, r, s) unbound_lite_pkt2wire(a, r, s)
|
||||
#include "ldns/packet.h"
|
||||
ldns_status unbound_lite_pkt2wire(uint8_t **dest, const ldns_pkt *p, size_t *size);
|
||||
#include "openssl/ssl.h"
|
||||
# define i2d_DSA_SIG(d, s) unbound_lite_i2d_DSA_SIG(d, s)
|
||||
int unbound_lite_i2d_DSA_SIG(DSA_SIG* dsasig, unsigned char** sig);
|
||||
#endif /* UNBOUND_ALLOC_LITE */
|
||||
|
|
|
|||
Loading…
Reference in a new issue