[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 17/67] colo: use local path for local headers
From: |
Zhang Chen |
Subject: |
Re: [Qemu-devel] [PATCH 17/67] colo: use local path for local headers |
Date: |
Fri, 4 May 2018 12:23:25 +0800 |
On Fri, May 4, 2018 at 3:50 AM, Michael S. Tsirkin <address@hidden> wrote:
> When pulling in headers that are in the same directory as C file (as
> opposed to one in include/), we should use its relative path, without a
> directory. Directory based path works more or less by accident.
>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
>
Reviewed-by: Zhang Chen <address@hidden>
> ---
> net/colo-compare.c | 2 +-
> net/colo.c | 2 +-
> net/filter-rewriter.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/net/colo-compare.c b/net/colo-compare.c
> index 23b2d2c..c3a2be4 100644
> --- a/net/colo-compare.c
> +++ b/net/colo-compare.c
> @@ -25,7 +25,7 @@
> #include "net/queue.h"
> #include "chardev/char-fe.h"
> #include "qemu/sockets.h"
> -#include "net/colo.h"
> +#include "colo.h"
> #include "sysemu/iothread.h"
>
> #define TYPE_COLO_COMPARE "colo-compare"
> diff --git a/net/colo.c b/net/colo.c
> index 8426265..6dda4ed 100644
> --- a/net/colo.c
> +++ b/net/colo.c
> @@ -14,7 +14,7 @@
>
> #include "qemu/osdep.h"
> #include "trace.h"
> -#include "net/colo.h"
> +#include "colo.h"
>
> uint32_t connection_key_hash(const void *opaque)
> {
> diff --git a/net/filter-rewriter.c b/net/filter-rewriter.c
> index 62dad2d..f584e4e 100644
> --- a/net/filter-rewriter.c
> +++ b/net/filter-rewriter.c
> @@ -11,7 +11,7 @@
>
> #include "qemu/osdep.h"
> #include "trace.h"
> -#include "net/colo.h"
> +#include "colo.h"
> #include "net/filter.h"
> #include "net/net.h"
> #include "qemu-common.h"
> --
> MST
>
>
- [Qemu-devel] [PATCH 11/67] rocker: drop an unused include, (continued)
- [Qemu-devel] [PATCH 11/67] rocker: drop an unused include, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 12/67] ppc: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 13/67] vhost-scsi: drop an unused include, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 14/67] sd: fix up include, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 15/67] usb: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 17/67] colo: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- Re: [Qemu-devel] [PATCH 17/67] colo: use local path for local headers,
Zhang Chen <=
- [Qemu-devel] [PATCH 19/67] xtensa: relative include for parent directory, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 18/67] qga: use local path for local headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 23/67] slirp: add include directory headers, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 20/67] tests: relative include for child directory, Michael S. Tsirkin, 2018/05/03
- [Qemu-devel] [PATCH 21/67] trace: use local path for local headers, Michael S. Tsirkin, 2018/05/03