]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove `register' keyword.
authorJim Meyering <jim@meyering.net>
Sun, 6 Mar 2005 16:26:38 +0000 (16:26 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 6 Mar 2005 16:26:38 +0000 (16:26 +0000)
src/dd.c
src/env.c

index d342e5fbc5b587ef92f59128273458c6d3cafca6..3ec9ef0f725730b8129d7210c23d77c70864939b 100644 (file)
--- 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?  */
index 2091da6a1f3574f2b4f4b69467ab8c9d08467e2d..3d324d3e9d8301c396716788be338d8251738d97 100644 (file)
--- 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;