diff mbox series

[COMMITTED] support_quote_string: Do not use str parameter name

Message ID 20181128071548.341AE4399457D@oldenburg.str.redhat.com
State New
Headers show
Series [COMMITTED] support_quote_string: Do not use str parameter name | expand

Commit Message

Florian Weimer Nov. 28, 2018, 7:15 a.m. UTC
This avoids a build failure if this identifier is used as a macro
in a test.

2018-11-28  Florian Weimer  <fweimer@redhat.com>

	* support/support.h (support_quote_string): Do not use str
	parameter name.
diff mbox series

Patch

diff --git a/support/support.h b/support/support.h
index 835e7173eb..c3ad76901e 100644
--- a/support/support.h
+++ b/support/support.h
@@ -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