summaryrefslogtreecommitdiff
path: root/src/uniq.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-06 16:33:20 +0000
committerJim Meyering <jim@meyering.net>2005-03-06 16:33:20 +0000
commit6eb01f34a60e149bfb70f4f2f15551441859abaf (patch)
treef8c6cd7c6966e61c1bea21c714572759afd6a492 /src/uniq.c
parentaf2031973758c6372e57c6b0dae62adc325d8a3a (diff)
downloadcoreutils-6eb01f34a60e149bfb70f4f2f15551441859abaf.tar.xz
Remove `register' keyword.
Diffstat (limited to 'src/uniq.c')
-rw-r--r--src/uniq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uniq.c b/src/uniq.c
index 8a9fc9627..344245a1c 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++)
{