Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/15
14 lines
458 B
Diff
14 lines
458 B
Diff
diff --git a/lib/getline.cc b/lib/getline.cc
|
|
index ecc3e85..2d97644 100644 (file)
|
|
--- a/lib/getline.cc
|
|
+++ b/lib/getline.cc
|
|
@@ -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)
|