1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-11-05 08:10:38 +03:00

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 e8b11dd98b
commit b6ff184f5c

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 */