summaryrefslogtreecommitdiff
path: root/lib/quotearg.h
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-11-03 10:59:55 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-03 11:02:04 +0000
commit77d702067d8bf61f96f2c4ef451a09651b27628b (patch)
treebcbb956268cd6ad08875aaa9d3fd17c86c00d693 /lib/quotearg.h
parentdf3cd2684d2bb01d3d7cbe066e3b67c96c8fd1f9 (diff)
downloadgnulib-77d702067d8bf61f96f2c4ef451a09651b27628b.tar.gz
quotearg: constify get_quoting_style parameters
* lib/quotearg.h (get_quoting_style): Mark parameter as const. * lib/quotearg.c (get_quoting_style): Likewise.
Diffstat (limited to 'lib/quotearg.h')
-rw-r--r--lib/quotearg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quotearg.h b/lib/quotearg.h
index 2b7c93c915..edee3b5929 100644
--- a/lib/quotearg.h
+++ b/lib/quotearg.h
@@ -278,7 +278,7 @@ struct quoting_options;
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. */