From: Jim Meyering Date: Sun, 6 Mar 2005 16:33:20 +0000 (+0000) Subject: Remove `register' keyword. X-Git-Tag: CPPI-1_12~1385 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6eb01f34a60e149bfb70f4f2f15551441859abaf;p=thirdparty%2Fcoreutils.git Remove `register' keyword. --- diff --git a/src/tsort.c b/src/tsort.c index f496d08eca..6f16bafe35 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -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. */ diff --git a/src/uniq.c b/src/uniq.c index 8a9fc9627c..344245a1ce 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -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++) {