diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 22:24:35 +0000 |
commit | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch) | |
tree | 999c9d18279a7de289937116273ae4016356aa3a /posix/glob.c | |
parent | 8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff) | |
download | glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.gz |
Avoid use of "register" as optimization hint.
Diffstat (limited to 'posix/glob.c')
-rw-r--r-- | posix/glob.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/glob.c b/posix/glob.c index 83b4f2fed3..4c7dce5ee8 100644 --- a/posix/glob.c +++ b/posix/glob.c @@ -1263,7 +1263,7 @@ libc_hidden_def (glob) /* Free storage allocated in PGLOB by a previous `glob' call. */ void globfree (pglob) - register glob_t *pglob; + glob_t *pglob; { if (pglob->gl_pathv != NULL) { @@ -1303,7 +1303,7 @@ collated_compare (const void *a, const void *b) static int prefix_array (const char *dirname, char **array, size_t n) { - register size_t i; + size_t i; size_t dirlen = strlen (dirname); #if defined __MSDOS__ || defined WINDOWS32 int sep_char = '/'; @@ -1362,7 +1362,7 @@ __glob_pattern_type (pattern, quote) const char *pattern; int quote; { - register const char *p; + const char *p; int ret = 0; for (p = pattern; *p != '\0'; ++p) |