dns: remove unused functions

This commit is contained in:
Ben Noordhuis 2012-04-13 14:46:35 +02:00
parent 46acb09ed8
commit b7b7b29f50

View File

@ -41,23 +41,6 @@ function errnoException(errorno, syscall) {
}
function familyToSym(family) {
switch (family) {
case 4: return cares.AF_INET;
case 6: return cares.AF_INET6;
default: return cares.AF_UNSPEC;
}
}
function symToFamily(family) {
switch (family) {
case cares.AF_INET: return 4;
case cares.AF_INET6: return 6;
default: return undefined;
}
}
// c-ares invokes a callback either synchronously or asynchronously,
// but the dns API should always invoke a callback asynchronously.
//