]> git.proxmox.com Git - qemu.git/blobdiff - hw/eeprom93xx.h
Revert "Get rid of _t suffix"
[qemu.git] / hw / eeprom93xx.h
index 72a7c81efced2c3589faa1fc154a349d8f530164..47282d381ef1dd528c8c4464f1b7134f4a88ccac 100644 (file)
 #ifndef EEPROM93XX_H
 #define EEPROM93XX_H
 
-typedef struct eeprom a_eeprom;
+typedef struct _eeprom_t eeprom_t;
 
 /* Create a new EEPROM with (nwords * 2) bytes. */
-a_eeprom *eeprom93xx_new(uint16_t nwords);
+eeprom_t *eeprom93xx_new(uint16_t nwords);
 
 /* Destroy an existing EEPROM. */
-void eeprom93xx_free(a_eeprom *eeprom);
+void eeprom93xx_free(eeprom_t *eeprom);
 
 /* Read from the EEPROM. */
-uint16_t eeprom93xx_read(a_eeprom *eeprom);
+uint16_t eeprom93xx_read(eeprom_t *eeprom);
 
 /* Write to the EEPROM. */
-void eeprom93xx_write(a_eeprom *eeprom, int eecs, int eesk, int eedi);
+void eeprom93xx_write(eeprom_t *eeprom, int eecs, int eesk, int eedi);
 
 /* Get EEPROM data array. */
-uint16_t *eeprom93xx_data(a_eeprom *eeprom);
+uint16_t *eeprom93xx_data(eeprom_t *eeprom);
 
 #endif /* EEPROM93XX_H */