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

index f496d08ecac932c8ce8b692a56f4fd4f1a9270b5..6f16bafe3578e282bae540b546e7f17cef8ee5c4 100644 (file)
@@ -1,5 +1,5 @@
 /* tsort - topological sort.
-   Copyright (C) 1998-2004 Free Software Foundation, Inc.
+   Copyright (C) 1998-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
@@ -442,7 +442,7 @@ tsort (const char *file)
   struct item *root;
   struct item *j = NULL;
   struct item *k = NULL;
-  register FILE *fp;
+  FILE *fp;
   token_buffer tokenbuffer;
 
   /* Intialize the head of the tree will hold the strings we're sorting.  */
index 8a9fc9627c57f61b266471fb4917e0804239abfd..344245a1ce1e422e5daad1c6aa6fffd4d191e814 100644 (file)
@@ -1,5 +1,5 @@
 /* uniq -- remove duplicate lines from a sorted file
-   Copyright (C) 86, 91, 1995-2004 Free Software Foundation, Inc.
+   Copyright (C) 86, 91, 1995-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
@@ -191,10 +191,10 @@ size_opt (char const *opt, char const *msgid)
 static char *
 find_field (const struct linebuffer *line)
 {
-  register size_t count;
-  register char *lp = line->buffer;
-  register size_t size = line->length - 1;
-  register size_t i = 0;
+  size_t count;
+  char *lp = line->buffer;
+  size_t size = line->length - 1;
+  size_t i = 0;
 
   for (count = 0; count < skip_fields && i < size; count++)
     {