Blame SOURCES/0003-resolv-shadows-a-global-declaration.patch

9f799c
From e91a7c6e2be7fc5bb7eb5b8e9d28b9bcc36f446b Mon Sep 17 00:00:00 2001
9f799c
From: Walter Harms <wharms@bfs.de>
9f799c
Date: Fri, 11 Jan 2019 22:54:47 +0100
9f799c
Subject: [PATCH 3/9] resolv:shadows a global declaration
9f799c
9f799c
---
9f799c
 util/makestrs.c | 14 +++++++-------
9f799c
 1 file changed, 7 insertions(+), 7 deletions(-)
9f799c
9f799c
diff --git a/util/makestrs.c b/util/makestrs.c
9f799c
index 5764849..488c9bb 100644
9f799c
--- a/util/makestrs.c
9f799c
+++ b/util/makestrs.c
9f799c
@@ -88,7 +88,7 @@ static int   solaris_abi_names = FALSE;
9f799c
  * commandline. Needed to separate source and build directories.
9f799c
  */
9f799c
 static char* includedir = NULL;
9f799c
-static FILE *ifopen(const char *file, const char *mode)
9f799c
+static FILE *ifopen(const char *myfile, const char *mode)
9f799c
 {
9f799c
 #ifndef HAVE_ASPRINTF
9f799c
     size_t len;
9f799c
@@ -97,13 +97,13 @@ static FILE *ifopen(const char *file, const char *mode)
9f799c
     FILE *ret;
9f799c
 
9f799c
     if (includedir == NULL)
9f799c
-        return fopen(file, mode);
9f799c
+        return fopen(myfile, mode);
9f799c
 
9f799c
 #ifdef HAVE_ASPRINTF
9f799c
-    if (asprintf(&buffer, "%s/%s", includedir, file) == -1)
9f799c
+    if (asprintf(&buffer, "%s/%s", includedir, myfile) == -1)
9f799c
         return NULL;
9f799c
 #else
9f799c
-    len = strlen(file) + strlen(includedir) + 1;
9f799c
+    len = strlen(myfile) + strlen(includedir) + 1;
9f799c
     buffer = (char*)malloc(len + 1);
9f799c
     if (buffer == NULL)
9f799c
         return NULL;
9f799c
@@ -622,7 +622,7 @@ static void DoLine(char *buf)
9f799c
     }
9f799c
 }
9f799c
 
9f799c
-static void IntelABIIndexEntries (File *file)
9f799c
+static void IntelABIIndexEntries (File *myfile)
9f799c
 {
9f799c
     Table* t;
9f799c
     TableEnt* te;
9f799c
@@ -635,7 +635,7 @@ static void IntelABIIndexEntries (File *file)
9f799c
     }
9f799c
 }
9f799c
 
9f799c
-static void DefaultIndexEntries (File *file)
9f799c
+static void DefaultIndexEntries (File *myfile)
9f799c
 {
9f799c
     Table* t;
9f799c
     TableEnt* te;
9f799c
@@ -649,7 +649,7 @@ static void DefaultIndexEntries (File *file)
9f799c
     }
9f799c
 }
9f799c
 
9f799c
-static void IndexEntries (File *file, int abi)
9f799c
+static void IndexEntries (File *myfile, int abi)
9f799c
 {
9f799c
     switch (abi) {
9f799c
     case X_SPARC_ABI:
9f799c
-- 
9f799c
2.19.2
9f799c