Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

dns: remove unused functions

  • Loading branch information...
bnoordhuis committed Apr 13, 2012
1 parent 46acb09 commit b7b7b29f509c46e6d5854b1cd04c0ec757de6389
Showing with 0 additions and 17 deletions.
  1. +0 −17 lib/dns.js
@@ -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.
//

0 comments on commit b7b7b29

Please sign in to comment.
You can’t perform that action at this time.