From 2f9c8ce38a885791dfa4cefb6370b5025c55ae82 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 1 Nov 2017 13:54:47 -0700 Subject: Start de-duplicating the regular and wide printf implementations. This patch switches to C++ (in anticipation of needing it later), removes a little duplication (via a macro for now), and ensures uniform support for %C/%lc and %S/%ls between regular and wide (with new tests). Since it's so hard to debug problems in printf (as the time I've wasted already today will testify), that's all I want to do in this change. The other 500 lines of diff can wait... (Also merge "floatio.h" into "local.h" now all the users are in forked code.) Bug: http://b/67371539 Test: ran tests Change-Id: I083353d89c32b9302d759ca6967cc6d8a62cd8a5 --- libc/stdio/parsefloat.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libc/stdio/parsefloat.c') diff --git a/libc/stdio/parsefloat.c b/libc/stdio/parsefloat.c index e911da412..d81e71359 100644 --- a/libc/stdio/parsefloat.c +++ b/libc/stdio/parsefloat.c @@ -34,7 +34,6 @@ #include #include "local.h" -#include "floatio.h" #define BUF 513 /* Maximum length of numeric string. */ -- cgit v1.2.3