net: add missing declaration

This commit is contained in:
K. Lange 2021-09-08 19:49:22 +09:00
parent 73495747b9
commit 0edb682567
2 changed files with 2 additions and 2 deletions

View File

@ -39,3 +39,5 @@ struct ArpCacheEntry {
struct ArpCacheEntry * net_arp_cache_get(uint32_t addr);
void net_arp_cache_add(struct EthernetDevice * iface, uint32_t addr, uint8_t * hwaddr, uint16_t flags);
void net_arp_ask(uint32_t addr, fs_node_t * fsnic);

View File

@ -304,8 +304,6 @@ static void init_tx(struct e1000_nic * device) {
read_command(device, E1000_REG_TCTRL));
}
extern void net_arp_ask(uint32_t addr, fs_node_t * fsnic);
static int ioctl_e1000(fs_node_t * node, unsigned long request, void * argp) {
struct e1000_nic * nic = node->device;