[Mesa-dev] [PATCH 2/2] egl/haiku: Drop extern "C". No longer needed

Brian Paul brianp at vmware.com
Thu May 14 08:49:17 PDT 2015


On 05/13/2015 04:14 PM, Alexander von Gluck IV wrote:
> ---
>   src/egl/drivers/haiku/egl_haiku.cpp |    2 --
>   1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp
> index 4cf2ccb..4d9888d 100644
> --- a/src/egl/drivers/haiku/egl_haiku.cpp
> +++ b/src/egl/drivers/haiku/egl_haiku.cpp
> @@ -27,7 +27,6 @@
>   #include <stdint.h>
>   #include <stdio.h>
>
> -extern "C" {
>   #include "loader.h"
>   #include "eglconfig.h"
>   #include "eglcontext.h"
> @@ -38,7 +37,6 @@ extern "C" {
>   #include "eglsurface.h"
>   #include "eglimage.h"
>   #include "egltypedefs.h"
> -}
>
>   #include <InterfaceKit.h>
>   #include <OpenGLKit.h>
>

Both look OK to me.

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list