[Mesa-dev] [PATCH 11/11] winsys/amdgpu/addrlib: do not wrap header inclusion in extern "C"

Marek Olšák maraeo at gmail.com
Wed Nov 25 03:23:59 PST 2015


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Nov 24, 2015 at 5:29 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h b/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h
> index 03fbf2b..ead6033 100644
> --- a/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h
> +++ b/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h
> @@ -33,13 +33,13 @@
>  #ifndef __ADDR_INTERFACE_H__
>  #define __ADDR_INTERFACE_H__
>
> +#include "addrtypes.h"
> +
>  #if defined(__cplusplus)
>  extern "C"
>  {
>  #endif
>
> -#include "addrtypes.h"
> -
>  #define ADDRLIB_VERSION_MAJOR 5
>  #define ADDRLIB_VERSION_MINOR 25
>  #define ADDRLIB_VERSION ((ADDRLIB_VERSION_MAJOR << 16) | ADDRLIB_VERSION_MINOR)
> --
> 2.6.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list