mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7edd63f1b1
commit
cb9c377f54
50 changed files with 219 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
#ifndef HW_NE2000_H
|
||||
#define HW_NE2000_H 1
|
||||
|
||||
#define NE2000_PMEM_SIZE (32*1024)
|
||||
#define NE2000_PMEM_START (16*1024)
|
||||
#define NE2000_PMEM_END (NE2000_PMEM_SIZE+NE2000_PMEM_START)
|
||||
|
@ -33,3 +36,5 @@ extern const VMStateDescription vmstate_ne2000;
|
|||
void ne2000_reset(NE2000State *s);
|
||||
int ne2000_can_receive(NetClientState *nc);
|
||||
ssize_t ne2000_receive(NetClientState *nc, const uint8_t *buf, size_t size_);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue