]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
support_quote_string: Do not use str parameter name
authorFlorian Weimer <fweimer@redhat.com>
Wed, 28 Nov 2018 06:00:48 +0000 (07:00 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 12 Dec 2018 11:03:36 +0000 (12:03 +0100)
This avoids a build failure if this identifier is used as a macro
in a test.

(cherry picked from commit 47d8d9a2172f827a8dde7695f415aa6f78a82d0e)

ChangeLog
support/support.h

index aaeb1fc706bbc078c40ec14c112047901364ccdb..a979f53811bb36374a948f105dc8e8a5bc8a0e5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-28  Florian Weimer  <fweimer@redhat.com>
+
+       * support/support.h (support_quote_string): Do not use str
+       parameter name.
+
 2018-11-27  Florian Weimer  <fweimer@redhat.com>
 
        * support/support.h (support_quote_string): Declare.
index 4d9f7528a66d67e1aec0bdf2eda9332aa990674d..4ea92e1c2109c06fc9e8879cb54c0fd1d252647a 100644 (file)
@@ -65,10 +65,10 @@ void support_write_file_string (const char *path, const char *contents);
    the result).  */
 char *support_quote_blob (const void *blob, size_t length);
 
-/* Quote the contents of the at STR, in such a way that the result
+/* Quote the contents of the string, in such a way that the result
    string can be included in a C literal (in single/double quotes,
    without putting the quotes into the result).  */
-char *support_quote_string (const char *str);
+char *support_quote_string (const char *);
 
 /* Error-checking wrapper functions which terminate the process on
    error.  */