summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-06 16:26:38 +0000
committerJim Meyering <jim@meyering.net>2005-03-06 16:26:38 +0000
commitea510d7e413577276b3b0d15abdd12bdd2e31a37 (patch)
tree007daa16294d9c4fb4e4c4c7704bf7c1ce4a8dc4
parentbd2147af165cf0ec400cc50d63cc928abc123847 (diff)
downloadcoreutils-ea510d7e413577276b3b0d15abdd12bdd2e31a37.tar.xz
Remove `register' keyword.
-rw-r--r--src/dd.c2
-rw-r--r--src/env.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dd.c b/src/dd.c
index d342e5fbc..3ec9ef0f7 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -881,7 +881,7 @@ static char *
swab_buffer (char *buf, size_t *nread)
{
char *bufstart = buf;
- register char *cp;
+ char *cp;
size_t i;
/* Is a char left from last time? */
diff --git a/src/env.c b/src/env.c
index 2091da6a1..3d324d3e9 100644
--- a/src/env.c
+++ b/src/env.c
@@ -1,5 +1,5 @@
/* env - run a program in a modified environment
- Copyright (C) 1986, 1991-2004 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1991-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -136,7 +136,7 @@ A mere - implies -i. If no COMMAND, print the resulting environment.\n\
}
int
-main (register int argc, register char **argv)
+main (int argc, char **argv)
{
int optc;
bool ignore_environment = false;