diff options
author | Jan Vesely <[email protected]> | 2014-07-25 08:33:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-08-04 09:51:38 -0600 |
commit | 6614def76420ba02b76385d7fa4d1d4ad9ec91d5 (patch) | |
tree | 656d2a9040c400b9534e7c162377a2122397d063 /src/gallium/auxiliary/tgsi | |
parent | d66acc70777480439a67d59977169595b1cf4418 (diff) |
gallium: Fix compiler warning.
warning: type qualifiers ignored on function return type
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); |