Remove meaningless "const" from return types.
Change-Id: If1219bece0654aad34cc2ecac5bb47c17abfe418
diff --git a/scriptc/rs_allocation.rsh b/scriptc/rs_allocation.rsh
index 6f3f8d9..219958e 100644
--- a/scriptc/rs_allocation.rsh
+++ b/scriptc/rs_allocation.rsh
@@ -221,14 +221,14 @@
* Send the contents of the Allocation to the queue.
* @param a allocation to work on
*/
-extern const void __attribute__((overloadable))
+extern void __attribute__((overloadable))
rsAllocationIoSend(rs_allocation a);
/**
* Receive a new set of contents from the queue.
* @param a allocation to work on
*/
-extern const void __attribute__((overloadable))
+extern void __attribute__((overloadable))
rsAllocationIoReceive(rs_allocation a);
@@ -246,7 +246,7 @@
* @param s sampler state
* @param location to sample from
*/
-extern const float4 __attribute__((overloadable))
+extern float4 __attribute__((overloadable))
rsSample(rs_allocation a, rs_sampler s, float location);
/**
* Fetch allocation in a way described by the sampler
@@ -257,7 +257,7 @@
* mip levels will be interpolated if
* RS_SAMPLER_LINEAR_MIP_LINEAR is used
*/
-extern const float4 __attribute__((overloadable))
+extern float4 __attribute__((overloadable))
rsSample(rs_allocation a, rs_sampler s, float location, float lod);
/**
@@ -266,7 +266,7 @@
* @param s sampler state
* @param location to sample from
*/
-extern const float4 __attribute__((overloadable))
+extern float4 __attribute__((overloadable))
rsSample(rs_allocation a, rs_sampler s, float2 location);
/**
@@ -278,7 +278,7 @@
* mip levels will be interpolated if
* RS_SAMPLER_LINEAR_MIP_LINEAR is used
*/
-extern const float4 __attribute__((overloadable))
+extern float4 __attribute__((overloadable))
rsSample(rs_allocation a, rs_sampler s, float2 location, float lod);
#endif // (defined(RS_VERSION) && (RS_VERSION >= 16))
@@ -353,7 +353,7 @@
/**
* Extract a single element from an allocation.
*/
-extern const uchar __attribute__((overloadable))
+extern uchar __attribute__((overloadable))
rsGetElementAtYuv_uchar_Y(rs_allocation a, uint32_t x, uint32_t y);
/**
@@ -361,7 +361,7 @@
*
* Coordinates are in the dimensions of the Y plane
*/
-extern const uchar __attribute__((overloadable))
+extern uchar __attribute__((overloadable))
rsGetElementAtYuv_uchar_U(rs_allocation a, uint32_t x, uint32_t y);
/**
@@ -369,7 +369,7 @@
*
* Coordinates are in the dimensions of the Y plane
*/
-extern const uchar __attribute__((overloadable))
+extern uchar __attribute__((overloadable))
rsGetElementAtYuv_uchar_V(rs_allocation a, uint32_t x, uint32_t y);
#endif // (defined(RS_VERSION) && (RS_VERSION >= 18))
@@ -428,4 +428,3 @@
#endif
-