aboutsummaryrefslogtreecommitdiffstats
path: root/getopt.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-09-22 16:57:11 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-09-22 16:57:11 +0300
commitda83b6857bf0a67b15fc75d31a0b6802ac9baffe (patch)
tree399e9f1ec800b5405f9b494060481a8420480caf /getopt.c
parente149eb882355f427d43928324145c971a0562c5e (diff)
parent8aa14c5f3cf78f90b589785a9ffe5f7f02050b37 (diff)
downloadegawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.tar.gz
egawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.tar.bz2
egawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.zip
Merge branch 'master' into comment
Diffstat (limited to 'getopt.c')
-rw-r--r--getopt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/getopt.c b/getopt.c
index 7679991d..fa258382 100644
--- a/getopt.c
+++ b/getopt.c
@@ -236,7 +236,7 @@ exchange (char **argv, struct _getopt_data *d)
{
/* Bottom segment is the short one. */
int len = middle - bottom;
- register int i;
+ int i;
/* Swap it with the top part of the top segment. */
for (i = 0; i < len; i++)
@@ -253,7 +253,7 @@ exchange (char **argv, struct _getopt_data *d)
{
/* Top segment is the short one. */
int len = top - middle;
- register int i;
+ int i;
/* Swap it with the bottom part of the bottom segment. */
for (i = 0; i < len; i++)
@@ -574,7 +574,7 @@ _getopt_internal_r (int argc, char *const *argv, const char *optstring,
|| pfound->flag != p->flag
|| pfound->val != p->val)
{
- /* Second or later nonexact match found. */
+ /* Second or later nonexact match found. */
struct option_list *newp = malloc (sizeof (*newp));
newp->p = p;
newp->needs_free = 1;