]> sourceware.org Git - glibc.git/commitdiff
libio: make _IO_least_marker static
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 28 Nov 2024 13:27:24 +0000 (08:27 -0500)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 28 Nov 2024 13:27:24 +0000 (08:27 -0500)
Trivial cleanup to limit _IO_least_marker so that it's clear that it is
unused outside of genops.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
libio/genops.c

index 9f18861d7b46ae8cf96292f45fb73614eedacd1c..d7e35e67d56cbe658be26f71efcd912981a15d0e 100644 (file)
@@ -135,9 +135,7 @@ libc_hidden_def (_IO_link_in)
 
 /* Return minimum _pos markers
    Assumes the current get area is the main get area. */
-ssize_t _IO_least_marker (FILE *fp, char *end_p);
-
-ssize_t
+static ssize_t
 _IO_least_marker (FILE *fp, char *end_p)
 {
   ssize_t least_so_far = end_p - fp->_IO_read_base;
This page took 0.041403 seconds and 5 git commands to generate.