859755
commit b606c6ce66d4772068bfe3e410c28a247633ee24
859755
Author: Florian Weimer <fweimer@redhat.com>
859755
Date:   Fri Jun 30 11:32:19 2017 +0200
859755
859755
    resolv: Remove source argument fron res_options
859755
859755
diff --git a/resolv/res_init.c b/resolv/res_init.c
859755
index 821f06061b4c3fb1..5d8b2c994d8e6f04 100644
859755
--- a/resolv/res_init.c
859755
+++ b/resolv/res_init.c
859755
@@ -103,7 +103,7 @@
859755
 #include <inet net-internal.h="">
859755
 #include <errno.h>
859755
 
859755
-static void res_setoptions (res_state, const char *, const char *);
859755
+static void res_setoptions (res_state, const char *);
859755
 static uint32_t net_mask (struct in_addr);
859755
 
859755
 unsigned long long int __res_initstamp;
859755
@@ -381,7 +381,7 @@ res_vinit_1 (res_state statp, bool preinit, FILE *fp, char **buffer)
859755
             }
859755
           if (MATCH (*buffer, "options"))
859755
             {
859755
-              res_setoptions (statp, *buffer + sizeof ("options") - 1, "conf");
859755
+              res_setoptions (statp, *buffer + sizeof ("options") - 1);
859755
               continue;
859755
             }
859755
         }
859755
@@ -417,7 +417,7 @@ res_vinit_1 (res_state statp, bool preinit, FILE *fp, char **buffer)
859755
     }
859755
 
859755
   if ((cp = getenv ("RES_OPTIONS")) != NULL)
859755
-    res_setoptions (statp, cp, "env");
859755
+    res_setoptions (statp, cp);
859755
   statp->options |= RES_INIT;
859755
   return true;
859755
 }
859755
@@ -469,7 +469,7 @@ __res_vinit (res_state statp, int preinit)
859755
 }
859755
 
859755
 static void
859755
-res_setoptions (res_state statp, const char *options, const char *source)
859755
+res_setoptions (res_state statp, const char *options)
859755
 {
859755
   const char *cp = options;
859755