aboutsummaryrefslogtreecommitdiffstats
path: root/tests/stdio_test.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-06-11 14:17:35 -0700
committerDan Albert <danalbert@google.com>2014-06-11 14:41:45 -0700
commit8e613cf342b369f7985135dbe11ebdbf8c736157 (patch)
tree729d925aaeff9b92b7bb09c9385e90069b400c2c /tests/stdio_test.cpp
parent440bd6bcc308f78b32fcbc4a3ba312dd1343559b (diff)
downloadandroid_bionic-8e613cf342b369f7985135dbe11ebdbf8c736157.tar.gz
android_bionic-8e613cf342b369f7985135dbe11ebdbf8c736157.tar.bz2
android_bionic-8e613cf342b369f7985135dbe11ebdbf8c736157.zip
Remove declaration for putw(3)/getw(3).
These were both removed from POSIX 2004, and we don't define an implementation for getw(3). Keep the definition of put(3) on LP32 for binary compatibility. Bug: 13935372 Change-Id: Iba384b45093ac6d2d7c2d81f7980cd7701dd6f56
Diffstat (limited to 'tests/stdio_test.cpp')
-rw-r--r--tests/stdio_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index e291f52fe..18dae9c2f 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -532,10 +532,6 @@ TEST(stdio, cantwrite_EBADF) {
#endif
errno = 0;
- EXPECT_EQ(EOF, putw(1234, fp));
- EXPECT_EQ(EBADF, errno);
-
- errno = 0;
EXPECT_EQ(0U, fwrite("hello", 1, 2, fp));
EXPECT_EQ(EBADF, errno);