diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-12-21 09:35:28 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-12-21 09:35:28 +0000 |
commit | baa0a2c9a410a88fcacdf82abc7d21b0c99c7cd3 (patch) | |
tree | 23761bbdd386ee804a16e3483d30adb8bc204c3a /resolv/res_hconf.c | |
parent | 2bf037b4e8e189e910a41744d79404b94235ab8b (diff) | |
download | glibc-baa0a2c9a410a88fcacdf82abc7d21b0c99c7cd3.tar.gz glibc-baa0a2c9a410a88fcacdf82abc7d21b0c99c7cd3.tar.xz glibc-baa0a2c9a410a88fcacdf82abc7d21b0c99c7cd3.zip |
Updated to fedora-glibc-20051221T0931
Diffstat (limited to 'resolv/res_hconf.c')
-rw-r--r-- | resolv/res_hconf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c index 9beb881701..c54b28dadd 100644 --- a/resolv/res_hconf.c +++ b/resolv/res_hconf.c @@ -67,7 +67,7 @@ static const char *arg_trimdomain_list (const char *, int, const char *, static const char *arg_spoof (const char *, int, const char *, unsigned int); static const char *arg_bool (const char *, int, const char *, unsigned int); -static struct cmd +static const struct cmd { const char *name; const char *(*parse_args) (const char * filename, int line_num, @@ -114,10 +114,10 @@ arg_service_list (const char *fname, int line_num, const char *args, const char *start; size_t len; size_t i; - static struct + static const struct { - const char * name; - enum Name_Service service; + const char name[6]; + int16_t service; } svcs[] = { {"bind", SERVICE_BIND}, @@ -315,7 +315,7 @@ static void parse_line (const char *fname, int line_num, const char *str) { const char *start; - struct cmd *c = 0; + const struct cmd *c = 0; size_t len; size_t i; |