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