about summary refs log tree commit diff
path: root/include/stdio.h
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
commit771473a8c4f44d11e8e6521a96f4e92c20984eb3 (patch)
tree8097f366967afdbead5b21b2ff86be254080162f /include/stdio.h
parentc4ec8cab07615600dcff90efcc3676855fe84b6d (diff)
downloadglibc-771473a8c4f44d11e8e6521a96f4e92c20984eb3.tar.gz
glibc-771473a8c4f44d11e8e6521a96f4e92c20984eb3.tar.xz
glibc-771473a8c4f44d11e8e6521a96f4e92c20984eb3.zip
libio: Add hidden prototype for ungetc
And make ungetc the primary symbol, with _IO_ungetc as an alias.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 2e0dc80c16..311adcf953 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -212,6 +212,7 @@ libc_hidden_ldbl_proto (dprintf)
 libc_hidden_ldbl_proto (fprintf)
 libc_hidden_ldbl_proto (vfprintf)
 libc_hidden_ldbl_proto (sprintf)
+libc_hidden_proto (ungetc)
 libc_hidden_proto (fwrite)
 libc_hidden_proto (perror)
 libc_hidden_proto (remove)