On Mon, Sep 17, 2012 at 6:43 PM, Paolo Bonzini <[email protected]> wrote:
> This patch doesn't seem much useful alone, I must admit.  However,
> it makes sense as part of the upcoming directory reorganization,
> where I want to have include/net/tap.h as the net<->hw interface
> for tap.  Then having both net/tap.h and include/net/tap.h does
> not work.  "Fixed" by moving all the init functions to a single
> header file net/clients.h.
>
> The patch also adopts a uniform style for including net/*.h files
> from net/*.c, without the net/ path.
>
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
>  net.c                       | 11 ++++-------
>  net/{socket.h => clients.h} | 28 +++++++++++++++++++++++++---
>  net/dump.c                  |  2 +-
>  net/dump.h                  | 33 ---------------------------------
>  net/hub.c                   |  1 +
>  net/hub.h                   |  2 --
>  net/slirp.c                 |  3 ++-
>  net/slirp.h                 |  3 ---
>  net/socket.c                |  3 +--
>  net/tap-win32.c             |  2 +-
>  net/tap.c                   |  3 ++-
>  net/tap.h                   |  6 ------
>  net/vde.c                   |  3 +--
>  net/vde.h                   | 37 -------------------------------------
>  14 file modificati, 38 inserzioni(+), 99 rimozioni(-)
>  rename net/{socket.h => clients.h} (62%)
>  delete mode 100644 net/dump.h
>  delete mode 100644 net/vde.h

Thanks, applied!

http://github.com/stefanha/qemu/commits/net

Stefan

Reply via email to