about summary refs log tree commit diff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-07-15 12:37:01 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-21 07:34:50 +0200
commitec2f1fddf29053957d061dfe310f106388472a4f (patch)
tree84fb5d2cd2ae3b41aeb52609eb97d52bd05dccb3 /include/stdio.h
parent00bc6830e3fe3f10495917afe0835ddd19133c6a (diff)
downloadglibc-ec2f1fddf29053957d061dfe310f106388472a4f.tar.gz
glibc-ec2f1fddf29053957d061dfe310f106388472a4f.tar.xz
glibc-ec2f1fddf29053957d061dfe310f106388472a4f.zip
libio: Remove __libc_readline_unlocked
__nss_readline supersedes it.  This reverts part of commit
3f5e3f5d066dcffb80af48ae2cf35a01a85a8f10 ("libio: Implement
internal function __libc_readline_unlocked").  The internal
aliases __fseeko64 and __ftello64 are preserved because
they are needed by __nss_readline as well.

Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/stdio.h b/include/stdio.h
index ede0f3d444..2e0dc80c16 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -179,19 +179,6 @@ int __vfxprintf (FILE *__fp, const char *__fmt, __gnuc_va_list,
 		 unsigned int)
   attribute_hidden;
 
-/* Read the next line from FP into BUFFER, of LENGTH bytes.  LINE will
-   include the line terminator and a NUL terminator.  On success,
-   return the length of the line, including the line terminator, but
-   excluding the NUL termintor.  On EOF, return zero and write a NUL
-   terminator.  On error, return -1 and set errno.  If the total byte
-   count (line and both terminators) exceeds LENGTH, return -1 and set
-   errno to ERANGE (but do not mark the stream as failed).
-
-   The behavior is undefined if FP is not seekable, or if the stream
-   is already in an error state.  */
-ssize_t __libc_readline_unlocked (FILE *fp, char *buffer, size_t length);
-libc_hidden_proto (__libc_readline_unlocked);
-
 extern const char *const _sys_errlist_internal[] attribute_hidden;
 extern const char *__get_errlist (int) attribute_hidden;
 extern const char *__get_errname (int) attribute_hidden;