summaryrefslogtreecommitdiff
path: root/posix/getconf.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
commit2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch)
tree999c9d18279a7de289937116273ae4016356aa3a /posix/getconf.c
parent8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff)
Avoid use of "register" as optimization hint.
Diffstat (limited to 'posix/getconf.c')
-rw-r--r--posix/getconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/getconf.c b/posix/getconf.c
index 8a0c79bf34..878772022d 100644
--- a/posix/getconf.c
+++ b/posix/getconf.c
@@ -1043,7 +1043,7 @@ usage (void)
static void
print_all (const char *path)
{
- register const struct conf *c;
+ const struct conf *c;
size_t clen;
long int value;
char *cvalue;
@@ -1087,7 +1087,7 @@ print_all (const char *path)
int
main (int argc, char *argv[])
{
- register const struct conf *c;
+ const struct conf *c;
/* Set locale. Do not set LC_ALL because the other categories must
not be affected (according to POSIX.2). */