OSDN Git Service

Allow calling v?dprintf for any target API level.
authorDan Albert <danalbert@google.com>
Wed, 26 Jul 2017 21:09:45 +0000 (14:09 -0700)
committerDan Albert <danalbert@google.com>
Thu, 27 Jul 2017 23:32:01 +0000 (16:32 -0700)
commit5f7135eddd40d290d2bc4d0e819a6276bc4b8a24
treea082dbb4c6fe86b4f10f67f4f01a1b407fbe50bf
parent93068895091ee516c55a7873a4056145a7da3644
Allow calling v?dprintf for any target API level.

Old versions of Android called these fdprintf and vfdprintf out of
fears that the glibc names would collide with user debug printfs.

Allow users to just use dprintf and vfdprintf on any version by
renaming those calls to their legacy equivalents if needed.

Test: built trivial NDK module targeting android-14 and using dprintf
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/72
Change-Id: I90de149278f931380418536abaef47c5cee5c195
libc/include/stdio.h
libc/libc.arm.map
libc/libc.map.txt
libc/libc.mips.map
libc/libc.x86.map