* lib/quotearg.h (get_quoting_style): Mark parameter as const.
* lib/quotearg.c (get_quoting_style): Likewise.
+2015-11-03 Pádraig Brady <P@draigBrady.com>
+
+ quotearg: constify get_quoting_style parameters
+ * lib/quotearg.h (get_quoting_style): Mark parameter as const.
+ * lib/quotearg.c (get_quoting_style): Likewise.
+
2015-11-02 Pádraig Brady <P@draigBrady.com>
quotearg: add support for $'' shell escaping
/* Get the value of O's quoting style. If O is null, use the default. */
enum quoting_style
-get_quoting_style (struct quoting_options *o)
+get_quoting_style (struct quoting_options const *o)
{
return (o ? o : &default_quoting_options)->style;
}
struct quoting_options *clone_quoting_options (struct quoting_options *o);
/* Get the value of O's quoting style. If O is null, use the default. */
-enum quoting_style get_quoting_style (struct quoting_options *o);
+enum quoting_style get_quoting_style (struct quoting_options const *o);
/* In O (or in the default if O is null),
set the value of the quoting style to S. */