Merge "Allow C++ to call fdprintf"

This commit is contained in:
Glenn Kasten 2012-02-10 13:45:49 -08:00 committed by Android (Google) Code Review
commit 32c226d6ed

View File

@ -452,8 +452,10 @@ extern int __isthreaded;
* fdprintf is a better name, and some programs that use fdprintf use a * fdprintf is a better name, and some programs that use fdprintf use a
* #define fdprintf dprintf for compatibility * #define fdprintf dprintf for compatibility
*/ */
__BEGIN_DECLS
int fdprintf(int, const char*, ...); int fdprintf(int, const char*, ...);
int vfdprintf(int, const char*, __va_list); int vfdprintf(int, const char*, __va_list);
__END_DECLS
#endif /* _GNU_SOURCE */ #endif /* _GNU_SOURCE */
#endif /* _STDIO_H_ */ #endif /* _STDIO_H_ */