]> git.sur5r.net Git - openocd/commitdiff
Remove redundant typedefs in types.h; include stdint.h unconditionally.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 18 Jun 2009 07:11:48 +0000 (07:11 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 18 Jun 2009 07:11:48 +0000 (07:11 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2283 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/types.h

index ece56264274ac42be4f0890d25efc2809407f8ab..75b2ad1b863bdcc3b860896fd7dfe19b77339996 100644 (file)
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#ifdef HAVE_STDINT_H
 #include <stdint.h>
-#endif
-
-#ifndef uint8_t
-typedef unsigned char uint8_t;
-#endif
-
-#ifndef uint16_t
-typedef unsigned short uint16_t;
-#endif
-
-#ifndef uint32_t
-typedef unsigned int uint32_t;
-#endif
-
-#ifndef uint64_t
-typedef unsigned long long uint64_t;
-#endif
 
 typedef struct jtag_tap_s jtag_tap_t;