All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Markus Armbruster <armbru@redhat.com>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, rth@twiddle.net, riku.voipio@iki.fi,
	pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH 01/18] Use #include "..." for our own headers, <...> for others
Date: Fri, 1 Jul 2016 15:32:25 -0600	[thread overview]
Message-ID: <5776E169.8080404@redhat.com> (raw)
In-Reply-To: <1467215765-22981-2-git-send-email-armbru@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]

On 06/29/2016 09:55 AM, Markus Armbruster wrote:
> Tracked down with an ugly, brittle and probably buggy Perl script.
> 
> Also move includes converted to <...> up so they get included before
> ours where that's obviously okay.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---

> +++ b/qga/vss-win32/provider.cpp
> @@ -12,8 +12,8 @@
>  
>  #include "qemu/osdep.h"
>  #include "vss-common.h"
> -#include "inc/win2003/vscoordint.h"
> -#include "inc/win2003/vsprov.h"
> +#include <inc/win2003/vscoordint.h>
> +#include <inc/win2003/vsprov.h>

Worth hoisting <> before "" in this file?

>  
>  #define VSS_TIMEOUT_MSEC (60*1000)
>  
> diff --git a/qga/vss-win32/requester.cpp b/qga/vss-win32/requester.cpp
> index 889052d..0cd2f0e 100644
> --- a/qga/vss-win32/requester.cpp
> +++ b/qga/vss-win32/requester.cpp
> @@ -13,8 +13,8 @@
>  #include "qemu/osdep.h"
>  #include "vss-common.h"
>  #include "requester.h"
> -#include "inc/win2003/vswriter.h"
> -#include "inc/win2003/vsbackup.h"
> +#include <inc/win2003/vswriter.h>
> +#include <inc/win2003/vsbackup.h>

Ditto.


> +++ b/tests/tcg/xtensa/linker.ld.S
> @@ -1,4 +1,4 @@
> -#include <core-isa.h>
> +#include "core-isa.h"
>  

Just making sure that "" vs. <> isn't going to hurt assembler files,
since the rules on preprocessing those may be different.

Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2016-07-01 21:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 15:55 [Qemu-devel] [PATCH 00/18] Clean up #include "..." vs "<...>" and header guards Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 01/18] Use #include "..." for our own headers, <...> for others Markus Armbruster
2016-07-01 21:32   ` Eric Blake [this message]
2016-07-04 13:47     ` Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 02/18] scripts: New clean-header-guards.pl Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 03/18] target-*: Clean up cpu.h header guards Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 04/18] linux-user: Clean up target_syscall.h " Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 05/18] linux-user: Clean up target_cpu.h " Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 06/18] linux-user: Clean up target_signal.h " Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 07/18] linux-user: Clean up target_structs.h " Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 08/18] linux-user: Clean up hostdep.h " Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 09/18] linux-user: Fix broken header guard in syscall_defs.h Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 10/18] tcg: Clean up tcg-target.h header guards Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 11/18] spapr_pci: Include spapr.h instead of playing games with #error Markus Armbruster
2016-06-29 15:55 ` [Qemu-devel] [PATCH 12/18] Drop Emacs local variables lists redundant with .dir-locals.el Markus Armbruster
2016-06-29 15:56 ` [Qemu-devel] [PATCH 13/18] Clean up header guards that don't match their file name Markus Armbruster
2016-06-29 15:56 ` [Qemu-devel] [PATCH 14/18] libdecnumber: Don't fool around with guards to avoid #include Markus Armbruster
2016-06-29 15:56 ` [Qemu-devel] [PATCH 15/18] libdecnumber: Don't error out on decNumberLocal.h re-inclusion Markus Armbruster
2016-06-29 15:56 ` [Qemu-devel] [PATCH 16/18] Clean up ill-advised or unusual header guards Markus Armbruster
2016-06-29 15:56 ` [Qemu-devel] [PATCH 17/18] Clean up decorations and whitespace around " Markus Armbruster
2016-06-29 15:56 ` [Qemu-devel] [PATCH 18/18] cris: Fix broken header guard in hw/cris/boot.h Markus Armbruster
2016-07-01 19:57 ` [Qemu-devel] [PATCH 00/18] Clean up #include "..." vs "<...>" and header guards Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5776E169.8080404@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=rth@twiddle.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.