]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/stdint.h
Changed html template, in order to make it more generic and be usable on other types...
[proxmark3-svn] / armsrc / stdint.h
index 8e444b6d85d764d57938ac8c4da06504086321e3..78a0b051281f867277c9cf216f7bcd7bb274f06c 100644 (file)
@@ -1,34 +1,27 @@
-/*
- * bits32/stdint.h
- */
-
-#ifndef _BITSIZE_STDINT_H
-#define _BITSIZE_STDINT_H
-
-typedef signed char            int8_t;
-typedef short int              int16_t;
-typedef int                    int32_t;
-typedef long long int          int64_t;
-
-typedef unsigned char          uint8_t;
-typedef unsigned short int     uint16_t;
-typedef unsigned int           uint32_t;
+//-----------------------------------------------------------------------------
+// Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
+//
+// 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
+
+typedef signed char                            int8_t;
+typedef short int                              int16_t;
+typedef int                                            int32_t;
+typedef long long int                  int64_t;
+
+typedef unsigned char                  uint8_t;
+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  ""
+typedef int                                            intptr_t;
+typedef unsigned int                   uintptr_t;
 
-#endif                         /* _BITSIZE_STDINT_H */
+#endif /* __STDINT_H */
Impressum, Datenschutz