X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fpld%2Fxilinx_bit.h;h=131a78347b27a691ea767a8bf52042c0da049153;hb=b7d2cdc0d4fc319169c60362708a67e2ff626525;hp=3eb331baadf467b91aefda91794cdcdb1d17cc51;hpb=ca594adb5a71f2bf60c1380172b8e61b075d9479;p=openocd.git diff --git a/src/pld/xilinx_bit.h b/src/pld/xilinx_bit.h index 3eb331baad..131a78347b 100644 --- a/src/pld/xilinx_bit.h +++ b/src/pld/xilinx_bit.h @@ -17,13 +17,11 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #ifndef XILINX_BIT_H #define XILINX_BIT_H -#include "types.h" - -typedef struct xilinx_bit_file_s -{ +struct xilinx_bit_file { uint8_t unknown_header[13]; uint8_t *source_file; uint8_t *part_name; @@ -31,8 +29,8 @@ typedef struct xilinx_bit_file_s uint8_t *time; uint32_t length; uint8_t *data; -} xilinx_bit_file_t; +}; -int xilinx_read_bit_file(xilinx_bit_file_t *bit_file, const char *filename); +int xilinx_read_bit_file(struct xilinx_bit_file *bit_file, const char *filename); -#endif /* XILINX_BIT_H */ +#endif /* XILINX_BIT_H */