Some random cleanup

This commit is contained in:
marcansoft 2010-02-21 00:13:08 +00:00
parent bd20f8f478
commit c1bd1140c4
4 changed files with 2 additions and 28 deletions

View file

@ -21,20 +21,7 @@ typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long int uint64_t;
typedef int int_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
typedef int intptr_t;
typedef unsigned int uintptr_t;
#define __INT64_C(c) c ## LL
#define __UINT64_C(c) c ## ULL
#define __PRI64_RANK "ll"
#define __PRIFAST_RANK ""
#define __PRIPTR_RANK ""
#endif /* __STDINT_H */

View file

@ -18,4 +18,4 @@ void *memset(void *dest, int c, int len);
int memcmp(const void *av, const void *bv, int len);
char *strncat(char *dest, const char *src, unsigned int n);
#endif /* __STRING_H */
#endif /* __STRING_H */

View file

@ -21,20 +21,7 @@ typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long int uint64_t;
typedef int int_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
typedef int intptr_t;
typedef unsigned int uintptr_t;
#define __INT64_C(c) c ## LL
#define __UINT64_C(c) c ## ULL
#define __PRI64_RANK "ll"
#define __PRIFAST_RANK ""
#define __PRIPTR_RANK ""
#endif /* __STDINT_H */

View file

@ -8,7 +8,7 @@
// The common USB driver used for both the bootloader and the application.
//-----------------------------------------------------------------------------
#include <proxmark3.h>
#include "proxmark3.h"
#define min(a, b) (((a) > (b)) ? (b) : (a))