about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-07 18:33:52 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-07 18:33:52 +0200
commit7fcdb532534e46f70624fd7e3681eb6831a69303 (patch)
tree60f16913ffc4d1d1464900883d12789e80efedee /stdio-common
parent771473a8c4f44d11e8e6521a96f4e92c20984eb3 (diff)
downloadglibc-7fcdb532534e46f70624fd7e3681eb6831a69303.tar.gz
glibc-7fcdb532534e46f70624fd7e3681eb6831a69303.tar.xz
glibc-7fcdb532534e46f70624fd7e3681eb6831a69303.zip
libio: Replace internal _IO_getdelim symbol with __getdelim
__getdelim is exported, _IO_getdelim is not.  Add a hidden prototype
for __getdelim.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/getline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/getline.c b/stdio-common/getline.c
index de212243bb..52dfc58f2b 100644
--- a/stdio-common/getline.c
+++ b/stdio-common/getline.c
@@ -25,7 +25,7 @@
 ssize_t
 __getline (char **lineptr, size_t *n, FILE *stream)
 {
-  return _IO_getdelim (lineptr, n, '\n', stream);
+  return __getdelim (lineptr, n, '\n', stream);
 }
 
 weak_alias (__getline, getline)