about summary refs log tree commit diff
path: root/resolv/res_hconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_hconf.c')
-rw-r--r--resolv/res_hconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c
index 756a0987df..c54b28dadd 100644
--- a/resolv/res_hconf.c
+++ b/resolv/res_hconf.c
@@ -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},