Author: mmichelson Date: Mon Apr 6 15:07:39 2015 New Revision: 434136 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=434136 Log: Resolve linker issue (temporarily) by changing TEST_FRAMEWORK define in dns_test.c
Modified: team/group/dns/main/dns_test.c Modified: team/group/dns/main/dns_test.c URL: http://svnview.digium.com/svn/asterisk/team/group/dns/main/dns_test.c?view=diff&rev=434136&r1=434135&r2=434136 ============================================================================== --- team/group/dns/main/dns_test.c (original) +++ team/group/dns/main/dns_test.c Mon Apr 6 15:07:39 2015 @@ -22,12 +22,12 @@ <support_level>core</support_level> ***/ -#ifdef TEST_FRAMEWORK - #include "asterisk.h" #include "asterisk/dns_core.h" #include "asterisk/dns_test.h" #include "asterisk/utils.h" + +#ifdef TEST_FRAMEWORK const char DNS_HEADER[] = { /* ID == 0 */ @@ -243,4 +243,22 @@ return ptr - buffer; } -#endif /* TEST_FRAMEWORK */ +#else /* TEST_FRAMEWORK */ + +int ast_dns_test_write_string(struct ast_dns_test_string *string, char *buf) +{ + return 0; +} + +int ast_dns_test_write_domain(const char *string, char *buf) +{ + return 0; +} + +int ast_dns_test_generate_result(struct ast_dns_query *query, void *records, size_t num_records, + size_t record_size, record_fn generate, char *buffer) +{ + return 0; +} + +#endif -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits