Remove redundant typedefs in types.h; include stdint.h unconditionally. --- types.h | 18 ------------------ 1 file changed, 18 deletions(-)
Remove redundant typedefs in types.h; include stdint.h unconditionally. --- types.h | 18 ------------------ 1 file changed, 18 deletions(-) ====== diff -u src/helper/types.h src/helper/types.h --- src/helper/types.h (working copy) +++ src/helper/types.h (working copy) @@ -26,25 +26,7 @@ #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;
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development