diff mbox series

[2/8] authz: Normalize #include "authz/trace.h" to "trace.h"

Message ID 20190315145123.28030-3-armbru@redhat.com (mailing list archive)
State New, archived
Headers show
Series Clean up #include "..." vs "<...>" and header guards | expand

Commit Message

Markus Armbruster March 15, 2019, 2:51 p.m. UTC
Include the generated trace.h the same way as we do everywhere else.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 authz/base.c     | 2 +-
 authz/list.c     | 2 +-
 authz/listfile.c | 2 +-
 authz/pamacct.c  | 2 +-
 authz/simple.c   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

Comments

Daniel P. Berrangé March 15, 2019, 3:28 p.m. UTC | #1
On Fri, Mar 15, 2019 at 03:51:17PM +0100, Markus Armbruster wrote:
> Include the generated trace.h the same way as we do everywhere else.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>  authz/base.c     | 2 +-
>  authz/list.c     | 2 +-
>  authz/listfile.c | 2 +-
>  authz/pamacct.c  | 2 +-
>  authz/simple.c   | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)

Acked-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
Philippe Mathieu-Daudé March 15, 2019, 4:08 p.m. UTC | #2
On 3/15/19 3:51 PM, Markus Armbruster wrote:
> Include the generated trace.h the same way as we do everywhere else.

I suppose this ended this way as a leftover from when this series
started in 2015. And I missed it while reviewing.

> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---
>  authz/base.c     | 2 +-
>  authz/list.c     | 2 +-
>  authz/listfile.c | 2 +-
>  authz/pamacct.c  | 2 +-
>  authz/simple.c   | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/authz/base.c b/authz/base.c
> index 110dfa4195..baf39fff25 100644
> --- a/authz/base.c
> +++ b/authz/base.c
> @@ -20,7 +20,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "authz/base.h"
> -#include "authz/trace.h"
> +#include "trace.h"
>  
>  bool qauthz_is_allowed(QAuthZ *authz,
>                         const char *identity,
> diff --git a/authz/list.c b/authz/list.c
> index dc6b0fec13..831da936fe 100644
> --- a/authz/list.c
> +++ b/authz/list.c
> @@ -20,7 +20,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "authz/list.h"
> -#include "authz/trace.h"
> +#include "trace.h"
>  #include "qom/object_interfaces.h"
>  #include "qapi/qapi-visit-authz.h"
>  
> diff --git a/authz/listfile.c b/authz/listfile.c
> index d4579767e7..674683c0ea 100644
> --- a/authz/listfile.c
> +++ b/authz/listfile.c
> @@ -20,7 +20,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "authz/listfile.h"
> -#include "authz/trace.h"
> +#include "trace.h"
>  #include "qemu/error-report.h"
>  #include "qemu/main-loop.h"
>  #include "qemu/sockets.h"
> diff --git a/authz/pamacct.c b/authz/pamacct.c
> index 5038358cdc..7539867923 100644
> --- a/authz/pamacct.c
> +++ b/authz/pamacct.c
> @@ -20,7 +20,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "authz/pamacct.h"
> -#include "authz/trace.h"
> +#include "trace.h"
>  #include "qom/object_interfaces.h"
>  
>  #include <security/pam_appl.h>
> diff --git a/authz/simple.c b/authz/simple.c
> index 8ab718803e..c409ce7efc 100644
> --- a/authz/simple.c
> +++ b/authz/simple.c
> @@ -20,7 +20,7 @@
>  
>  #include "qemu/osdep.h"
>  #include "authz/simple.h"
> -#include "authz/trace.h"
> +#include "trace.h"
>  #include "qom/object_interfaces.h"
>  
>  static bool qauthz_simple_is_allowed(QAuthZ *authz,
>
diff mbox series

Patch

diff --git a/authz/base.c b/authz/base.c
index 110dfa4195..baf39fff25 100644
--- a/authz/base.c
+++ b/authz/base.c
@@ -20,7 +20,7 @@ 
 
 #include "qemu/osdep.h"
 #include "authz/base.h"
-#include "authz/trace.h"
+#include "trace.h"
 
 bool qauthz_is_allowed(QAuthZ *authz,
                        const char *identity,
diff --git a/authz/list.c b/authz/list.c
index dc6b0fec13..831da936fe 100644
--- a/authz/list.c
+++ b/authz/list.c
@@ -20,7 +20,7 @@ 
 
 #include "qemu/osdep.h"
 #include "authz/list.h"
-#include "authz/trace.h"
+#include "trace.h"
 #include "qom/object_interfaces.h"
 #include "qapi/qapi-visit-authz.h"
 
diff --git a/authz/listfile.c b/authz/listfile.c
index d4579767e7..674683c0ea 100644
--- a/authz/listfile.c
+++ b/authz/listfile.c
@@ -20,7 +20,7 @@ 
 
 #include "qemu/osdep.h"
 #include "authz/listfile.h"
-#include "authz/trace.h"
+#include "trace.h"
 #include "qemu/error-report.h"
 #include "qemu/main-loop.h"
 #include "qemu/sockets.h"
diff --git a/authz/pamacct.c b/authz/pamacct.c
index 5038358cdc..7539867923 100644
--- a/authz/pamacct.c
+++ b/authz/pamacct.c
@@ -20,7 +20,7 @@ 
 
 #include "qemu/osdep.h"
 #include "authz/pamacct.h"
-#include "authz/trace.h"
+#include "trace.h"
 #include "qom/object_interfaces.h"
 
 #include <security/pam_appl.h>
diff --git a/authz/simple.c b/authz/simple.c
index 8ab718803e..c409ce7efc 100644
--- a/authz/simple.c
+++ b/authz/simple.c
@@ -20,7 +20,7 @@ 
 
 #include "qemu/osdep.h"
 #include "authz/simple.h"
-#include "authz/trace.h"
+#include "trace.h"
 #include "qom/object_interfaces.h"
 
 static bool qauthz_simple_is_allowed(QAuthZ *authz,