diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-13 14:46:35 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-04-13 14:46:35 +0200 |
commit | b7b7b29f509c46e6d5854b1cd04c0ec757de6389 (patch) | |
tree | 3fe489223bcf8034de76dd9cdd425c10c806661e /lib/dns.js | |
parent | 46acb09ed83958e7f3f06b9548f73f245d503b9f (diff) | |
download | node-b7b7b29f509c46e6d5854b1cd04c0ec757de6389.tar.gz |
dns: remove unused functions
Diffstat (limited to 'lib/dns.js')
-rw-r--r-- | lib/dns.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/dns.js b/lib/dns.js index 834310810..17f8b32d0 100644 --- a/lib/dns.js +++ b/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. // |