summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-07-29 16:31:52 -0700
committerElliott Hughes <enh@google.com>2016-07-29 16:31:52 -0700
commitcceaf069c7d203d63de6e8ca95e1d93ec32e7e0e (patch)
tree5b9791a7a16b3bd823c255692376a1d02aab5cfb /libc/stdio/stdio_ext.cpp
parent9a776af9920c050c7bd7353f33e0e02df940cf92 (diff)
More stdio cleanup.
Time to get back to cleaning up stdio, so start with a bunch of easy one-liners... Change-Id: I8df5fdc72500a89b977bfaa6c64c3639198d4e3e
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
-rw-r--r--libc/stdio/stdio_ext.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/libc/stdio/stdio_ext.cpp b/libc/stdio/stdio_ext.cpp
index 88e59510d..f2f58c61f 100644
--- a/libc/stdio/stdio_ext.cpp
+++ b/libc/stdio/stdio_ext.cpp
@@ -89,24 +89,3 @@ int __fsetlocking(FILE* fp, int type) {
_EXT(fp)->_caller_handles_locking = (type == FSETLOCKING_BYCALLER);
return old_state;
}
-
-void clearerr_unlocked(FILE* fp) {
- return __sclearerr(fp);
-}
-
-int feof_unlocked(FILE* fp) {
- return __sfeof(fp);
-}
-
-int ferror_unlocked(FILE* fp) {
- return __sferror(fp);
-}
-
-int fileno_unlocked(FILE* fp) {
- int fd = fp->_file;
- if (fd == -1) {
- errno = EBADF;
- return -1;
- }
- return fd;
-}