diff mbox

[PATCHv4,4/6] qemu/net: move typedef to qemu-common.h

Message ID 20091102222400.GE15153@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael S. Tsirkin Nov. 2, 2009, 10:24 p.m. UTC
None
diff mbox

Patch

diff --git a/net.h b/net.h
index 7246d16..00485e2 100644
--- a/net.h
+++ b/net.h
@@ -8,8 +8,6 @@ 
 
 /* VLANs support */
 
-typedef struct VLANClientState VLANClientState;
-
 typedef int (NetCanReceive)(VLANClientState *);
 typedef ssize_t (NetReceive)(VLANClientState *, const uint8_t *, size_t);
 typedef ssize_t (NetReceiveIOV)(VLANClientState *, const struct iovec *, int);
diff --git a/qemu-common.h b/qemu-common.h
index 875010b..704796e 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -193,6 +193,7 @@  typedef struct uWireSlave uWireSlave;
 typedef struct I2SCodec I2SCodec;
 typedef struct DeviceState DeviceState;
 typedef struct SSIBus SSIBus;
+typedef struct VLANClientState VLANClientState;
 
 /* CPU save/load.  */
 void cpu_save(QEMUFile *f, void *opaque);