[Mesa-dev] [PATCH] mesa: remove unused #pragma export on/off lines

Ian Romanick idr at freedesktop.org
Mon Apr 28 16:01:11 PDT 2014


The only thing that Google finds about "pragma export" were about Code
Warrior or IBM's XL C++ compilres for z/OS.  That doesn't seem relevant
to anyone.  Kill it!

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

On 04/28/2014 03:02 PM, Brian Paul wrote:
> PRAGMA_EXPORT_SUPPORTED is never defined.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77749
> ---
>  include/GL/gl.h |   17 -----------------
>  1 file changed, 17 deletions(-)
> 
> diff --git a/include/GL/gl.h b/include/GL/gl.h
> index 4e2932d..5b28480 100644
> --- a/include/GL/gl.h
> +++ b/include/GL/gl.h
> @@ -97,10 +97,6 @@
>  #define GLAPIENTRYP GLAPIENTRY *
>  #endif
>  
> -#if defined(PRAGMA_EXPORT_SUPPORTED)
> -#pragma export on
> -#endif
> -
>  /*
>   * End system-specific stuff.
>   **********************************************************************/
> @@ -2112,19 +2108,6 @@ typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum t
>   **/
>  
>  
> -
> -/**********************************************************************
> - * Begin system-specific stuff
> - */
> -#if defined(PRAGMA_EXPORT_SUPPORTED)
> -#pragma export off
> -#endif
> -
> -/*
> - * End system-specific stuff
> - **********************************************************************/
> -
> -
>  #ifdef __cplusplus
>  }
>  #endif
> 



More information about the mesa-dev mailing list