aboutsummaryrefslogtreecommitdiff
path: root/posix/getopt_int.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-03-31 07:39:55 -0400
committerZack Weinberg <zackw@panix.com>2017-04-07 07:46:50 -0400
commit7784135eb0de2d083bf3460c1386aee1c056e96e (patch)
tree49e103d2510009dfa21a4ad60ba1c428d93f0ee8 /posix/getopt_int.h
parentbf079e19f50d64aa5e05b5e17ec29afab9aabb20 (diff)
downloadglibc-7784135eb0de2d083bf3460c1386aee1c056e96e.zip
glibc-7784135eb0de2d083bf3460c1386aee1c056e96e.tar.gz
glibc-7784135eb0de2d083bf3460c1386aee1c056e96e.tar.bz2
getopt: merge from gnulib: don't use `...' quotes
I'm not sure whether this is official GNU style now, but `...' quotes haven't looked properly balanced in most people's terminal fonts since 2001ish? and gnulib has chosen to switch over to '...' quotes. I'm merging this separately from the other changes in gnulib because it's very mechanical. * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h: Use '...' instead of `...' for quotation marks inside comments and strings.
Diffstat (limited to 'posix/getopt_int.h')
-rw-r--r--posix/getopt_int.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/posix/getopt_int.h b/posix/getopt_int.h
index 71b9655..ac6ddef 100644
--- a/posix/getopt_int.h
+++ b/posix/getopt_int.h
@@ -62,7 +62,7 @@ struct _getopt_data
stop option processing when the first non-option is seen.
This is what Unix does.
This mode of operation is selected by either setting the environment
- variable POSIXLY_CORRECT, or using `+' as the first character
+ variable POSIXLY_CORRECT, or using '+' as the first character
of the list of option characters.
PERMUTE is the default. We permute the contents of ARGV as we
@@ -74,12 +74,12 @@ struct _getopt_data
written to expect options and other ARGV-elements in any order
and that care about the ordering of the two. We describe each
non-option ARGV-element as if it were the argument of an option
- with character code 1. Using `-' as the first character of the
+ with character code 1. Using '-' as the first character of the
list of option characters selects this mode of operation.
- The special argument `--' forces an end of option-scanning regardless
- of the value of `ordering'. In the case of RETURN_IN_ORDER, only
- `--' can cause `getopt' to return -1 with `optind' != ARGC. */
+ The special argument '--' forces an end of option-scanning regardless
+ of the value of 'ordering'. In the case of RETURN_IN_ORDER, only
+ '--' can cause 'getopt' to return -1 with 'optind' != ARGC. */
enum
{
@@ -93,8 +93,8 @@ struct _getopt_data
/* Handle permutation of arguments. */
/* Describe the part of ARGV that contains non-options that have
- been skipped. `first_nonopt' is the index in ARGV of the first
- of them; `last_nonopt' is the index after the last of them. */
+ been skipped. 'first_nonopt' is the index in ARGV of the first
+ of them; 'last_nonopt' is the index after the last of them. */
int __first_nonopt;
int __last_nonopt;