From 9a092dd373e0af8e1c679e36566762abf064aaf1 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sat, 8 Nov 2014 11:32:07 -0800 Subject: [PATCH] Remove dead code. __APPLE__ => HAVE_FUNOPEN. Change-Id: I191cccd9b75020ffbb3281283ce1f1b7abc15d22 --- libcutils/open_memstream.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libcutils/open_memstream.c b/libcutils/open_memstream.c index 1c3732108..9183266ed 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*/