Remove misleading typedef and redundant suffix from struct xilinx_bit_file.
static int virtex2_load(struct pld_device_s *pld_device, const char *filename)
{
virtex2_pld_device_t *virtex2_info = pld_device->driver_priv;
- xilinx_bit_file_t bit_file;
+ struct xilinx_bit_file bit_file;
int retval;
unsigned int i;
struct scan_field field;
return ERROR_OK;
}
-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)
{
FILE *input_file;
struct stat input_stat;
#include "types.h"
-typedef struct xilinx_bit_file_s
+struct xilinx_bit_file
{
uint8_t unknown_header[13];
uint8_t *source_file;
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 */