Author: mkarcher Date: Mon Dec 27 00:55:19 2010 New Revision: 1249 URL: http://flashrom.org/trac/flashrom/changeset/1249
Log: compilation fix for djgpp
This corrects a djgpp build error, seen with r1232 and later.
pcidev.c:210: error: conflicting types for 'rpci_write_long' programmer.h:226: error: previous declaration of 'rpci_write_long' was here
Signed-off-by: Idwer Vollering vidwer@gmail.com Acked-by: Michael Karcher flashrom@mkarcher.dialup.fu-berlin.de
Modified: trunk/programmer.h
Modified: trunk/programmer.h ============================================================================== --- trunk/programmer.h Mon Dec 27 00:55:12 2010 (r1248) +++ trunk/programmer.h Mon Dec 27 00:55:19 2010 (r1249) @@ -221,9 +221,9 @@ /* rpci_write_* are reversible writes. The original PCI config space register * contents will be restored on shutdown. */ -int rpci_write_byte(struct pci_dev *dev, int reg, u8 data); -int rpci_write_word(struct pci_dev *dev, int reg, u16 data); -int rpci_write_long(struct pci_dev *dev, int reg, u32 data); +int rpci_write_byte(struct pci_dev *dev, int reg, uint8_t data); +int rpci_write_word(struct pci_dev *dev, int reg, uint16_t data); +int rpci_write_long(struct pci_dev *dev, int reg, uint32_t data); #endif
/* print.c */