mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix building with GCC 4.2: ensure types are defined before refering to them.
This commit is contained in:
parent
576cdf4352
commit
482aa6a357
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160030
@ -42,9 +42,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/pci/pcireg.h>
|
||||
#include <dev/pci/pcivar.h>
|
||||
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
#include <dev/puc/puc_bus.h>
|
||||
#include <dev/puc/puc_cfg.h>
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
|
||||
#define PUC_ISRCCNT 5
|
||||
|
||||
|
@ -32,9 +32,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/bus.h>
|
||||
#include <sys/rman.h>
|
||||
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
#include <dev/puc/puc_bus.h>
|
||||
#include <dev/puc/puc_cfg.h>
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
|
||||
int
|
||||
puc_config(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port, intptr_t *r)
|
||||
|
@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <dev/pccard/pccardvar.h>
|
||||
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
#include <dev/puc/puc_cfg.h>
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
|
||||
/* http://www.argosy.com.tw/product/sp320.htm */
|
||||
const struct puc_cfg puc_pccard_rscom = {
|
||||
|
@ -75,8 +75,8 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/pci/pcireg.h>
|
||||
#include <dev/pci/pcivar.h>
|
||||
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
#include <dev/puc/puc_cfg.h>
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
|
||||
static const struct puc_cfg *
|
||||
puc_pci_match(device_t dev, const struct puc_cfg *desc)
|
||||
|
@ -43,9 +43,9 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <dev/pci/pcivar.h>
|
||||
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
#include <dev/puc/puc_bus.h>
|
||||
#include <dev/puc/puc_cfg.h>
|
||||
#include <dev/puc/puc_bfe.h>
|
||||
|
||||
static puc_config_f puc_config_amc;
|
||||
static puc_config_f puc_config_cronyx;
|
||||
|
Loading…
Reference in New Issue
Block a user