From 50365fedcbaf91ce530ca8507d2f377dc76ffd59 Mon Sep 17 00:00:00 2001 From: pwpiwi Date: Thu, 18 Jun 2015 11:33:53 +0200 Subject: [PATCH 1/1] fix issue #116: remove includes of stdio.h in armsrc --- armsrc/aes.c | 4 +++- armsrc/optimized_cipher.c | 1 - common/protocols.c | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/armsrc/aes.c b/armsrc/aes.c index 3df006bb..a199d04b 100644 --- a/armsrc/aes.c +++ b/armsrc/aes.c @@ -1,4 +1,3 @@ -#include "stdio.h" #include "aes.h" static const unsigned int Te0[256] = { @@ -1138,6 +1137,9 @@ int AesDecrypt(AesCtx *pCtx, unsigned char *pCipher, unsigned char *pData, unsig ////////////////////////////////////////////////////////////////////////////// #ifndef EMBEDDED + +#include + int main() { AesCtx ctx; diff --git a/armsrc/optimized_cipher.c b/armsrc/optimized_cipher.c index 444b93d0..23562621 100644 --- a/armsrc/optimized_cipher.c +++ b/armsrc/optimized_cipher.c @@ -61,7 +61,6 @@ **/ #include "optimized_cipher.h" -#include #include #include #include diff --git a/common/protocols.c b/common/protocols.c index 6a4c9a10..aa80491b 100644 --- a/common/protocols.c +++ b/common/protocols.c @@ -1,4 +1,3 @@ -#include #include #include #include -- 2.39.5