diff options
author | Elliott Hughes <enh@google.com> | 2017-11-03 15:26:02 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-11-03 15:26:02 +0000 |
commit | 232541aa02e22ab8fafcdd503c74aae22fa09699 (patch) | |
tree | 0cd806ce38bc447f6c6c7d94c8f13282b9ed581b /libc/stdio/vfprintf.cpp | |
parent | 3a33da5d731cec8d79720b6a842449c22d063bfa (diff) | |
parent | 618303ca4ad2754071ba6955da690fec2b27a76d (diff) |
Merge "More printf de-duplication."
Diffstat (limited to 'libc/stdio/vfprintf.cpp')
-rw-r--r-- | libc/stdio/vfprintf.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/libc/stdio/vfprintf.cpp b/libc/stdio/vfprintf.cpp index 6d1682894..10303d9a2 100644 --- a/libc/stdio/vfprintf.cpp +++ b/libc/stdio/vfprintf.cpp @@ -83,7 +83,7 @@ union arg { wchar_t* pwchararg; }; -static int __find_arguments(const char* fmt0, va_list ap, union arg** argtable, size_t* argtablesiz); +static int __find_arguments(const CHAR_TYPE* fmt0, va_list ap, union arg** argtable, size_t* argtablesiz); static int __grow_type_table(unsigned char** typetable, int* tablesize); /* @@ -250,16 +250,6 @@ static int exponent(CharT* p0, int exp, int fmtch) { #define CHARINT 0x0800 /* 8 bit integer */ #define MAXINT 0x1000 /* largest integer size (intmax_t) */ -int vfprintf(FILE* fp, const char* fmt0, __va_list ap) { - int ret; - - FLOCKFILE(fp); - ret = __vfprintf(fp, fmt0, ap); - FUNLOCKFILE(fp); - return (ret); -} -DEF_STRONG(vfprintf); - int __vfprintf(FILE* fp, const char* fmt0, __va_list ap) { char* fmt; /* format string */ int ch; /* character from fmt */ |