[Mesa-dev] [PATCH] glsl: remove unrequired forward declaration

Kenneth Graunke kenneth at whitecape.org
Tue Feb 9 09:34:33 UTC 2016


On Saturday, January 30, 2016 10:50:12 AM PST Timothy Arceri wrote:
> This was added in 2548092ad80156a4 although I don't see why as it
> was already in the linker.h header.
> ---
>  src/compiler/glsl/linker.cpp | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp
> index 7f41a4e..73a4b6a 100644
> --- a/src/compiler/glsl/linker.cpp
> +++ b/src/compiler/glsl/linker.cpp
> @@ -82,8 +82,6 @@
>  #include "main/enums.h"
>  
>  
> -void linker_error(gl_shader_program *, const char *, ...);
> -
>  namespace {
>  
>  /**
> 

Yeah, certainly doesn't seem necessary.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160209/5aec7ecd/attachment.sig>


More information about the mesa-dev mailing list