[Spice-devel] [PATCH spice-streaming-agent] Update old style header guards

Victor Toso victortoso at redhat.com
Thu Feb 15 07:19:14 UTC 2018


Hi,

On Thu, Feb 15, 2018 at 07:14:14AM +0000, Frediano Ziglio wrote:
> Some header used some slightly different naming style for
> header guards.
> Update the names to make them more coherent.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  src/hexdump.h | 4 ++--
>  src/jpeg.hpp  | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/hexdump.h b/src/hexdump.h
> index b8542a2..b454257 100644
> --- a/src/hexdump.h
> +++ b/src/hexdump.h
> @@ -3,8 +3,8 @@
>   * \copyright
>   * Copyright 2016-2017 Red Hat Inc. All rights reserved.
>   */
> -#ifndef RH_STREAMING_AGENT_HEXDUMP_H_
> -#define RH_STREAMING_AGENT_HEXDUMP_H_
> +#ifndef SPICE_STREAMING_AGENT_HEXDUMP_H
> +#define SPICE_STREAMING_AGENT_HEXDUMP_H
>  
>  #ifdef __cplusplus
>  extern "C" {
> diff --git a/src/jpeg.hpp b/src/jpeg.hpp
> index dd59405..cc14c50 100644
> --- a/src/jpeg.hpp
> +++ b/src/jpeg.hpp
> @@ -3,8 +3,8 @@
>   * \copyright
>   * Copyright 2017 Red Hat Inc. All rights reserved.
>   */
> -#ifndef RH_STREAMING_AGENT_JPEG_HPP_
> -#define RH_STREAMING_AGENT_JPEG_HPP_
> +#ifndef SPICE_STREAMING_AGENT_JPEG_HPP
> +#define SPICE_STREAMING_AGENT_JPEG_HPP

Sure,
Acked-by: Victor Toso <victortoso at redhat.com>

>  
>  #include <stdio.h>
>  #include <vector>
> -- 
> 2.14.3
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180215/72b66b72/attachment.sig>


More information about the Spice-devel mailing list