aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_hconf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-25 19:46:41 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-25 19:46:41 +0000
commitb9c65d0902e5890c4f025b574725154032f8120a (patch)
treeb52b704665e9951a753cc6e02bd286efada48c5e /resolv/res_hconf.h
parent38027f90d41a27e9aafc56731f8ccc3ced67ce8d (diff)
downloadglibc-b9c65d0902e5890c4f025b574725154032f8120a.tar
glibc-b9c65d0902e5890c4f025b574725154032f8120a.tar.gz
glibc-b9c65d0902e5890c4f025b574725154032f8120a.tar.bz2
glibc-b9c65d0902e5890c4f025b574725154032f8120a.zip
[BZ #2389]
* resolv/res_hconf.c: Remove 'order' parsing. Just ignore the line. * resolv/res_hconf.h: Remove Name_Service definition. (struct hconf): Replace service related fields with placeholders. * version.h (VERSION): Bump to 2.4.90 for the trunk.
Diffstat (limited to 'resolv/res_hconf.h')
-rw-r--r--resolv/res_hconf.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/resolv/res_hconf.h b/resolv/res_hconf.h
index 77eeca4dea..b40da0df74 100644
--- a/resolv/res_hconf.h
+++ b/resolv/res_hconf.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995-1998, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger (davidm@azstarnet.com).
@@ -24,18 +24,11 @@
#define TRIMDOMAINS_MAX 4
-enum Name_Service
-{
- SERVICE_NONE = 0,
- SERVICE_BIND, SERVICE_HOSTS, SERVICE_NIS,
- SERVICE_MAX
-};
-
struct hconf
{
int initialized;
- int num_services;
- enum Name_Service service[SERVICE_MAX];
+ int unused1;
+ int unused2[4];
int num_trimdomains;
const char *trimdomain[TRIMDOMAINS_MAX];
unsigned int flags;