summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-08 20:05:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-08 20:05:34 +0000
commit855074043144e74156972e7a3416808dc6696452 (patch)
tree814e431c19c2721ea9c27f91c49aac695f7294c1
parent2655256570b7c1c5af6d886735835eecb99f45f2 (diff)
parent9a092dd373e0af8e1c679e36566762abf064aaf1 (diff)
downloadsystem_core-855074043144e74156972e7a3416808dc6696452.zip
system_core-855074043144e74156972e7a3416808dc6696452.tar.gz
system_core-855074043144e74156972e7a3416808dc6696452.tar.bz2
Merge "Remove dead code."
-rw-r--r--libcutils/open_memstream.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libcutils/open_memstream.c b/libcutils/open_memstream.c
index 1c37321..9183266 100644
--- a/libcutils/open_memstream.c
+++ b/libcutils/open_memstream.c
@@ -59,8 +59,6 @@
# define DBUG(x) ((void)0)
#endif
-#ifdef HAVE_FUNOPEN
-
/*
* Definition of a seekable, write-only memory stream.
*/
@@ -251,12 +249,6 @@ FILE* open_memstream(char** bufp, size_t* sizep)
return fp;
}
-#else /*not HAVE_FUNOPEN*/
-FILE* open_memstream(char** bufp, size_t* sizep)
-{
- abort();
-}
-#endif /*HAVE_FUNOPEN*/