gallium: Fix compiler warning.
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 25 Jul 2014 14:33:00 +0000 (08:33 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Aug 2014 15:51:38 +0000 (09:51 -0600)
warning: type qualifiers ignored on function return type

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h

index 39216e59124471fde1288cfd0a184b5db1db19f6..dcf0cb52185fdb774dadaf9567245ad958d23d11 100644 (file)
@@ -1808,7 +1808,7 @@ no_ureg:
 }
 
 
-const unsigned
+unsigned
 ureg_get_nr_outputs( const struct ureg_program *ureg )
 {
    if (!ureg)
index 2c3746c77f2b9fa28298e6596a64b9823c0bb2aa..f014b5304a522e8df4ec7ed2b79cda2bb71f1cd0 100644 (file)
@@ -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 );