diff options
author | Elliott Hughes <enh@google.com> | 2014-11-08 11:32:07 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-11-08 11:32:07 -0800 |
commit | 9a092dd373e0af8e1c679e36566762abf064aaf1 (patch) | |
tree | 814e431c19c2721ea9c27f91c49aac695f7294c1 /libcutils | |
parent | 2655256570b7c1c5af6d886735835eecb99f45f2 (diff) | |
download | system_core-9a092dd373e0af8e1c679e36566762abf064aaf1.zip system_core-9a092dd373e0af8e1c679e36566762abf064aaf1.tar.gz system_core-9a092dd373e0af8e1c679e36566762abf064aaf1.tar.bz2 |
Remove dead code.
__APPLE__ => HAVE_FUNOPEN.
Change-Id: I191cccd9b75020ffbb3281283ce1f1b7abc15d22
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/open_memstream.c | 8 |
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*/ |