]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/net/ne2000.h
Clean up decorations and whitespace around header guards
[mirror_qemu.git] / hw / net / ne2000.h
index b31ae030f9a00e8192f501e5a5203cecc5429ef9..d213dccae300e9a78496bcc0a42c310b4c494ca7 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_NE2000_H
-#define HW_NE2000_H 1
+#define HW_NE2000_H
 
 #define NE2000_PMEM_SIZE    (32*1024)
 #define NE2000_PMEM_START   (16*1024)
@@ -31,10 +31,9 @@ typedef struct NE2000State {
     uint8_t mem[NE2000_MEM_SIZE];
 } NE2000State;
 
-void ne2000_setup_io(NE2000State *s, unsigned size);
+void ne2000_setup_io(NE2000State *s, DeviceState *dev, unsigned size);
 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