summaryrefslogtreecommitdiff
path: root/lib/getline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getline.cc')
-rw-r--r--lib/getline.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getline.cc b/lib/getline.cc
index ecc3e85..2d97644 100644
--- a/lib/getline.cc
+++ b/lib/getline.cc
@@ -1,6 +1,6 @@
/* getline.c -- Replacement for GNU C library function getline
- Copyright (C) 1993, 1996, 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1996, 2001-2003, 2020 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
@@ -55,7 +55,7 @@ getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset)
for (;;)
{
- register int c = getc (stream);
+ int c = getc (stream);
/* We always want at least one char left in the buffer, since we
always (unless we get an error while reading the first char)