summaryrefslogtreecommitdiffstats
path: root/src/console/vsprintf.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-17 18:37:08 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-25 11:32:25 +0200
commit0ddb82671cae52571e92b7b22cf088939d887d50 (patch)
treeb091186d484edea1ab137eeef1ceebc4f45db941 /src/console/vsprintf.c
parent6c99250c3fb97ccaa03d4f0c158caffdc53ff995 (diff)
downloadcoreboot-0ddb82671cae52571e92b7b22cf088939d887d50.tar.gz
coreboot-0ddb82671cae52571e92b7b22cf088939d887d50.tar.bz2
coreboot-0ddb82671cae52571e92b7b22cf088939d887d50.zip
src/console: Sanitize headers and IS_ENABLED usage
Alphabetise headers and remove any #if CONFIG_ guards around them. Use #if IS_ENABLED(CONFIG_FOO) over #if CONFIG_FOO where applicable. Change-Id: I2a616bcfb8470a1fa21c9e26271e81cca835272a Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6057 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/console/vsprintf.c')
-rw-r--r--src/console/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c
index fd6646b96886..d0ddfc14f370 100644
--- a/src/console/vsprintf.c
+++ b/src/console/vsprintf.c
@@ -19,8 +19,8 @@
* MA 02110-1301 USA
*/
-#include <string.h>
#include <console/vtxprintf.h>
+#include <string.h>
#include <trace.h>
struct vsnprintf_context