dns: Fix build when TEST_FRAMEWORK is not defined.
authorJoshua Colp <jcolp@digium.com>
Fri, 10 Apr 2015 13:32:24 +0000 (13:32 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 10 Apr 2015 13:32:24 +0000 (13:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434583 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/dns_test.c

index 3d61692..5ec994a 100644 (file)
@@ -246,7 +246,7 @@ int ast_dns_test_generate_result(struct ast_dns_query *query, void *records, siz
 
 #else /* TEST_FRAMEWORK */
 
-int ast_dns_test_write_string(struct ast_dns_test_string *string, char *buf)
+int ast_dns_test_write_string(const struct ast_dns_test_string *string, char *buf)
 {
        return 0;
 }