]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fix linking
authorYuri Schaeffer <yuri@nlnetlabs.nl>
Tue, 17 Sep 2013 22:20:02 +0000 (22:20 +0000)
committerYuri Schaeffer <yuri@nlnetlabs.nl>
Tue, 17 Sep 2013 22:20:02 +0000 (22:20 +0000)
git-svn-id: file:///svn/unbound/branches/edns-subnet@2960 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in
testcode/unitvandergaast.c

index 1888e9877129424c13c427241837f85c536d1473..a94a606b754d0b0096d6672f3ff1d9be76378c01 100644 (file)
@@ -939,7 +939,8 @@ unitmsgparse.lo unitmsgparse.o: $(srcdir)/testcode/unitmsgparse.c config.h \
  $(srcdir)/util/data/msgencode.h $(srcdir)/util/data/dname.h $(srcdir)/util/alloc.h $(srcdir)/util/regional.h \
  $(srcdir)/util/net_help.h $(srcdir)/testcode/readhex.h
 unitvandergaast.lo unitvandergaast.o: $(srcdir)/testcode/unitvandergaast.c \
- config.h $(srcdir)/util/log.h  $(srcdir)/testcode/unitmain.h
+ config.h $(srcdir)/util/log.h  $(srcdir)/testcode/unitmain.h \
+ edns-subnet/addrtree.h
 unitneg.lo unitneg.o: $(srcdir)/testcode/unitneg.c config.h $(srcdir)/util/log.h \
  $(srcdir)/util/net_help.h \
  $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
index d36c92e3c38293b5bb4f65c657039d224700f807..e885de22bed17af4fedeacfad47f2b581751b868 100644 (file)
 #include "testcode/unitmain.h"
 #include "edns-subnet/addrtree.h"
 
-static int 
-issub(const addrkey_t* s1, addrlen_t l1, 
-       const addrkey_t* s2, addrlen_t l2,  addrlen_t skip)
-{
-       return bits_common(s1, l1, s2, l2, skip) == l1;
-}
-
 static void issub_test(void)
 {
        unit_show_func("edns-subnet/addrtree.h", "issub");