summaryrefslogtreecommitdiff
path: root/core/legacynet/dnsresolv.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-04-06 12:34:01 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2016-04-06 12:34:01 -0700
commitedb6d3e81a891331d0adea527dc4adbe45db64d4 (patch)
tree401797c1f138d777658f0c0dffc7c78bbe1391de /core/legacynet/dnsresolv.c
parentcfafd66933bfd9fd55c58d7f8fa9f468386ba385 (diff)
downloadsyslinux-edb6d3e81a891331d0adea527dc4adbe45db64d4.tar.gz
pxe_dns: remove obsolete pxe_dns.c wrapper
We used to need a wrapper around the core function dns_resolv() to implement pxe_dns(), because the former function required its argument to live in low memory. This is no longer the case and hasn't been for a while, so remove this unnecessary level of indirection. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'core/legacynet/dnsresolv.c')
-rw-r--r--core/legacynet/dnsresolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/legacynet/dnsresolv.c b/core/legacynet/dnsresolv.c
index fdbe795c..2b014cb4 100644
--- a/core/legacynet/dnsresolv.c
+++ b/core/legacynet/dnsresolv.c
@@ -208,7 +208,7 @@ static bool parse_dotquad(const char *ip_str, uint32_t *res)
*
* XXX: probably need some caching here.
*/
-__export uint32_t dns_resolv(const char *name)
+__export uint32_t pxe_dns(const char *name)
{
static char __lowmem DNSSendBuf[PKTBUF_SIZE];
static char __lowmem DNSRecvBuf[PKTBUF_SIZE];