Ensure query_config.c includes stdio only when needed

This commit is contained in:
Andres AG 2018-10-26 18:37:38 +01:00 committed by Andres Amaya Garcia
parent 109f8b6100
commit 458148681d

View File

@ -28,6 +28,7 @@
#if defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h"
#else
#include <stdio.h>
#define mbedtls_printf printf
#endif /* MBEDTLS_PLATFORM_C */
@ -100,7 +101,6 @@
#include "mbedtls/x509_csr.h"
#include "mbedtls/xtea.h"
#include <stdio.h>
#include <string.h>
/* Helper macros to convert a macro or its expansion into a string */