From: pwpiwi Date: Thu, 18 Jun 2015 09:33:53 +0000 (+0200) Subject: fix issue #116: remove includes of stdio.h in armsrc X-Git-Tag: v2.1.0~2^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/50365fedcbaf91ce530ca8507d2f377dc76ffd59 fix issue #116: remove includes of stdio.h in armsrc --- 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