1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

- Fix functions prototypes to make compiler happy

This commit is contained in:
Oleksandr Tymoshenko 2009-06-12 12:17:32 +00:00
parent b64bb4d93e
commit fdf7155886
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=194059
2 changed files with 8 additions and 6 deletions

View File

@ -182,8 +182,8 @@ ar71xx_pci_conf_setup(int bus, int slot, int func, int reg, int bytes,
}
static uint32_t
ar71xx_pci_read_config(device_t dev, int bus, int slot, int func, int reg,
int bytes)
ar71xx_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func,
u_int reg, int bytes)
{
uint32_t data;
uint32_t cmd, shift, mask;
@ -219,8 +219,8 @@ ar71xx_pci_read_config(device_t dev, int bus, int slot, int func, int reg,
}
static void
ar71xx_pci_write_config(device_t dev, int bus, int slot, int func, int reg,
uint32_t data, int bytes)
ar71xx_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func,
u_int reg, uint32_t data, int bytes)
{
uint32_t cmd;

View File

@ -106,7 +106,7 @@ static int arge_tx_ring_init(struct arge_softc *);
#ifdef DEVICE_POLLING
static void arge_poll(struct ifnet *, enum poll_cmd, int);
#endif
static void arge_shutdown(device_t);
static int arge_shutdown(device_t);
static void arge_start(struct ifnet *);
static void arge_start_locked(struct ifnet *);
static void arge_stop(struct arge_softc *);
@ -459,7 +459,7 @@ arge_resume(device_t dev)
return 0;
}
static void
static int
arge_shutdown(device_t dev)
{
struct arge_softc *sc;
@ -469,6 +469,8 @@ arge_shutdown(device_t dev)
ARGE_LOCK(sc);
arge_stop(sc);
ARGE_UNLOCK(sc);
return (0);
}
static int