X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fpld%2Fxilinx_bit.h;h=37f1811825459800b5143faca2426b0af38692b6;hp=6e002c46773a269d9ad53e63bc3121388a78d3bc;hb=c4f2a018a594d5cc93f557e30a7906641b59ec56;hpb=c18947b947064e7eceed8047c42d4c8dfd8ae964 diff --git a/src/pld/xilinx_bit.h b/src/pld/xilinx_bit.h index 6e002c4677..37f1811825 100644 --- a/src/pld/xilinx_bit.h +++ b/src/pld/xilinx_bit.h @@ -17,22 +17,22 @@ * 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" +#include -typedef struct xilinx_bit_file_s -{ +struct xilinx_bit_file { uint8_t unknown_header[13]; uint8_t *source_file; uint8_t *part_name; uint8_t *date; uint8_t *time; - u32 length; + uint32_t length; uint8_t *data; -} xilinx_bit_file_t; +}; -int xilinx_read_bit_file(xilinx_bit_file_t *bit_file, char *filename); +int xilinx_read_bit_file(struct xilinx_bit_file *bit_file, const char *filename); -#endif /* XILINX_BIT_H */ +#endif /* XILINX_BIT_H */