mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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>
This commit is contained in:
@@ -55,7 +55,7 @@ __readonly_area (const char *ptr, size_t size)
|
||||
|
||||
while (! __feof_unlocked (fp))
|
||||
{
|
||||
if (_IO_getdelim (&line, &linelen, '\n', fp) <= 0)
|
||||
if (__getdelim (&line, &linelen, '\n', fp) <= 0)
|
||||
break;
|
||||
|
||||
char *p;
|
||||
|
||||
Reference in New Issue
Block a user