From: Wolfgang Denk Date: Wed, 01 Jun 2005 09:28:17 +0200 Subject: [U-Boot-Users] pci_hose_read_config_byte() definition puzzles In-Reply-To: Your message of "Wed, 01 Jun 2005 15:08:02 +0800." <20050601070802.49747.qmail@web15902.mail.cnb.yahoo.com> Message-ID: <20050601072822.017A4C1512@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20050601070802.49747.qmail@web15902.mail.cnb.yahoo.com> you wrote: > > I met a PCI init problem and happened to find several > PCI functions like pci_hose_read_config_byte() > defined and used but no function prototype. It made ... > Attached is the grep result of u-boot-1.1.3 included > in ELDK3.1.1. Any thoughts? ... > ./include/pci.h:extern int pci_hose_read_config_byte(struct pci_controller *hose, This looks very much like a prototype definition to me. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Once at a social gathering, Gladstone said to Disraeli, "I predict, Sir, that you will die either by hanging or of some vile disease". Disraeli replied, "That all depends, Sir, upon whether I embrace your principles or your mistress."