X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e30c654b196a87a13ae7f7d4ced930b296c038ec..65a23af22bbe71a169cd6a2cd8bd0a3275a95e9a:/bootrom/stdint.h?ds=inline diff --git a/bootrom/stdint.h b/bootrom/stdint.h index 8a7cb008..78a0b051 100644 --- a/bootrom/stdint.h +++ b/bootrom/stdint.h @@ -1,6 +1,12 @@ -/* - * Replacement stdint.h because GCC doesn't come with it yet (C99) - */ +//----------------------------------------------------------------------------- +// Copyright (C) 2010 Hector Martin "marcan" +// +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// Replacement stdint.h because GCC doesn't come with it yet (C99) +//----------------------------------------------------------------------------- #ifndef __STDINT_H #define __STDINT_H @@ -15,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 */