Remove redundant typedefs in types.h; include stdint.h unconditionally.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2283 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
0ca97d82d8
commit
4cf8d5ec17
|
@ -26,25 +26,7 @@
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STDINT_H
|
|
||||||
#include <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;
|
typedef struct jtag_tap_s jtag_tap_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue