]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge pull request #120 from pwpiwi/fix_compile_errors
authorpwpiwi <pwpiwi@users.noreply.github.com>
Thu, 18 Jun 2015 09:38:58 +0000 (11:38 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Thu, 18 Jun 2015 09:38:58 +0000 (11:38 +0200)
fix issue #116: remove includes of stdio.h in armsrc

armsrc/aes.c
armsrc/optimized_cipher.c
common/protocols.c

index 3df006bb355f2b0f7db494b36f98c8fd53355868..a199d04b7dc8d48bacbf446de619406385320159 100644 (file)
@@ -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 <stdio.h>
+
 int main()
 {
     AesCtx ctx;
index 444b93d09f688db68b71d152745c3a92f84c6b43..2356262114da1123395e534fab0e30da579743b9 100644 (file)
@@ -61,7 +61,6 @@
 **/
 
 #include "optimized_cipher.h"
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdbool.h>
index 6a4c9a103bff1a03ebb21215e968b54bc9aa7f09..aa80491b58f2b94d61313e01e1b4b4a2f64ac6a5 100644 (file)
@@ -1,4 +1,3 @@
-#include <stdio.h>
 #include <strings.h>
 #include <string.h>
 #include <stdint.h>
Impressum, Datenschutz