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, 28 Nov 2018 06:16:48 +0000 (07:16 +0100)
This avoids a build failure if this identifier is used as a macro
in a test.

ChangeLog
support/support.h

index 0d1ddaa..b5fbff7 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  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
index 835e717..c3ad769 100644 (file)
@@ -69,10 +69,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 *);
 
 /* Returns non-zero if the file descriptor is a regular file on a file
    system which supports holes (that is, seeking and writing does not