[libvirt] [PATCH v2 6/6] rpc: Fix name of include guard

Marc Hartmayer posted 6 patches 6 years, 10 months ago
[libvirt] [PATCH v2 6/6] rpc: Fix name of include guard
Posted by Marc Hartmayer 6 years, 10 months ago
The include guard should match the file name and comment.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
---
 src/rpc/virnetserverprogram.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rpc/virnetserverprogram.h b/src/rpc/virnetserverprogram.h
index c2a5635c959b..03784478de0b 100644
--- a/src/rpc/virnetserverprogram.h
+++ b/src/rpc/virnetserverprogram.h
@@ -21,8 +21,8 @@
  * Author: Daniel P. Berrange <berrange@redhat.com>
  */
 
-#ifndef __VIR_NET_PROGRAM_H__
-# define __VIR_NET_PROGRAM_H__
+#ifndef __VIR_NET_SERVER_PROGRAM_H__
+# define __VIR_NET_SERVER_PROGRAM_H__
 
 # include "virnetmessage.h"
 # include "virnetserverclient.h"
-- 
2.13.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 6/6] rpc: Fix name of include guard
Posted by John Ferlan 6 years, 9 months ago

On 07/03/2018 07:37 AM, Marc Hartmayer wrote:
> The include guard should match the file name and comment.
> 
> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
> Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
> ---
>  src/rpc/virnetserverprogram.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan@redhat.com>

John

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list