From 6614def76420ba02b76385d7fa4d1d4ad9ec91d5 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Fri, 25 Jul 2014 08:33:00 -0600 Subject: gallium: Fix compiler warning. warning: type qualifiers ignored on function return type Signed-off-by: Jan Vesely Reviewed-by: Brian Paul --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- src/gallium/auxiliary/tgsi/tgsi_ureg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 39216e59124..dcf0cb52185 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -1808,7 +1808,7 @@ no_ureg: } -const unsigned +unsigned ureg_get_nr_outputs( const struct ureg_program *ureg ) { if (!ureg) diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h index 2c3746c77f2..f014b5304a5 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h @@ -115,7 +115,7 @@ ureg_get_tokens( struct ureg_program *ureg, /* * Returns the number of currently declared outputs. */ -const unsigned +unsigned ureg_get_nr_outputs( const struct ureg_program *ureg ); -- cgit v1.2.3