From 24d52b500149780a9f11f8433afbe83cbfd99d86 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Wed, 19 Mar 2025 17:15:23 +0530
Subject: [PATCH 1/8] chore: fixed C lint errors

---
 lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c b/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
index 8047260975ee..86f8b32eeb97 100644
--- a/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
+++ b/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
@@ -192,7 +192,7 @@ int8_t stdlib_ndarray_f_as_t_0d( struct ndarray *arrays[], void *fcn ) {
 */
 int8_t stdlib_ndarray_f_as_t_1d( struct ndarray *arrays[], void *fcn ) {
 	typedef uint16_t func_type( void );
-	func_type *f = (func_type *)fcn;
+	func_type *f = (const func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK( float )
 	return 0;
 }

From 1c4a2e33fb0764eca8c6d3a28ae381e56ba1cbc7 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Wed, 19 Mar 2025 17:40:56 +0530
Subject: [PATCH 2/8] chore: fixed C lint errors

---
 .../@stdlib/ndarray/base/nullary/src/f_as_t.c | 78 +++++++++----------
 1 file changed, 39 insertions(+), 39 deletions(-)

diff --git a/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c b/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
index 86f8b32eeb97..0d41fe38d73c 100644
--- a/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
+++ b/lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c
@@ -193,7 +193,7 @@ int8_t stdlib_ndarray_f_as_t_0d( struct ndarray *arrays[], void *fcn ) {
 int8_t stdlib_ndarray_f_as_t_1d( struct ndarray *arrays[], void *fcn ) {
 	typedef uint16_t func_type( void );
 	func_type *f = (const func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -275,8 +275,8 @@ int8_t stdlib_ndarray_f_as_t_1d( struct ndarray *arrays[], void *fcn ) {
 */
 int8_t stdlib_ndarray_f_as_t_2d( struct ndarray *arrays[], void *fcn ) {
 	typedef uint16_t func_type( void );
-	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK( float )
+	func_type *f = (const func_type *)fcn;
+	STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -358,8 +358,8 @@ int8_t stdlib_ndarray_f_as_t_2d( struct ndarray *arrays[], void *fcn ) {
 */
 int8_t stdlib_ndarray_f_as_t_2d_blocked( struct ndarray *arrays[], void *fcn ) {
 	typedef uint16_t func_type( void );
-	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK( float )
+	func_type *f = (const func_type *)fcn;
+	STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -440,9 +440,9 @@ int8_t stdlib_ndarray_f_as_t_2d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_3d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -523,9 +523,9 @@ int8_t stdlib_ndarray_f_as_t_3d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_3d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -606,9 +606,9 @@ int8_t stdlib_ndarray_f_as_t_3d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_4d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -689,9 +689,9 @@ int8_t stdlib_ndarray_f_as_t_4d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_4d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -772,9 +772,9 @@ int8_t stdlib_ndarray_f_as_t_4d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_5d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -855,9 +855,9 @@ int8_t stdlib_ndarray_f_as_t_5d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_5d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -938,9 +938,9 @@ int8_t stdlib_ndarray_f_as_t_5d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_6d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1021,9 +1021,9 @@ int8_t stdlib_ndarray_f_as_t_6d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_6d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1104,9 +1104,9 @@ int8_t stdlib_ndarray_f_as_t_6d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_7d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1187,9 +1187,9 @@ int8_t stdlib_ndarray_f_as_t_7d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_7d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1270,9 +1270,9 @@ int8_t stdlib_ndarray_f_as_t_7d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_8d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1353,9 +1353,9 @@ int8_t stdlib_ndarray_f_as_t_8d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_8d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1436,9 +1436,9 @@ int8_t stdlib_ndarray_f_as_t_8d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_9d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1519,9 +1519,9 @@ int8_t stdlib_ndarray_f_as_t_9d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_9d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1602,9 +1602,9 @@ int8_t stdlib_ndarray_f_as_t_9d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_10d( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1685,9 +1685,9 @@ int8_t stdlib_ndarray_f_as_t_10d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_10d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK(const float )
 	return 0;
 }
 
@@ -1768,9 +1768,9 @@ int8_t stdlib_ndarray_f_as_t_10d_blocked( struct ndarray *arrays[], void *fcn )
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_f_as_t_nd( struct ndarray *arrays[], void *fcn ) {
-	typedef uint16_t func_type( void );
+	typedef uint16_t func_type(const void );
 	func_type *f = (func_type *)fcn;
-	STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK( float )
+	STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK(const float )
 	return 0;
 }
 

From e54cf3af9d7c3fb4da05482d8fa0a0e0f049ebdb Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Wed, 19 Mar 2025 21:45:29 +0530
Subject: [PATCH 3/8] chore: fixed C lint errors

---
 .../ccis/benchmark/c/native/benchmark.c       | 40 +++++++++++++------
 1 file changed, 27 insertions(+), 13 deletions(-)

diff --git a/lib/node_modules/@stdlib/math/base/special/ccis/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/ccis/benchmark/c/native/benchmark.c
index 7a6edaf59274..1c1a40eda5bd 100644
--- a/lib/node_modules/@stdlib/math/base/special/ccis/benchmark/c/native/benchmark.c
+++ b/lib/node_modules/@stdlib/math/base/special/ccis/benchmark/c/native/benchmark.c
@@ -28,6 +28,7 @@
 #define NAME "ccis"
 #define ITERATIONS 1000000
 #define REPEATS 3
+#define ARRAY_SIZE 100 // For our re/im arrays
 
 /**
 * Prints the TAP version.
@@ -73,7 +74,7 @@ static void print_results( double elapsed ) {
 static double tic( void ) {
 	struct timeval now;
 	gettimeofday( &now, NULL );
-	return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
+	return (double)now.tv_sec + (double)now.tv_usec / 1.0e6;
 }
 
 /**
@@ -93,31 +94,42 @@ static double rand_double( void ) {
 */
 static double benchmark( void ) {
 	double elapsed;
-	double re;
-	double im;
 	double t;
 	int i;
 
+	// Arrays to store 100 random real and imaginary values:
+	double re_array[ ARRAY_SIZE ];
+	double im_array[ ARRAY_SIZE ];
+
+	// Initialize re and im arrays with random values:
+	for ( i = 0; i < ARRAY_SIZE; i++ ) {
+		re_array[ i ] = ( 1000.0 * rand_double() ) - 500.0;
+		im_array[ i ] = ( 1000.0 * rand_double() ) - 500.0;
+	}
+
 	stdlib_complex128_t z1;
 	stdlib_complex128_t z2;
 
 	t = tic();
+
 	for ( i = 0; i < ITERATIONS; i++ ) {
-		re = ( 1000.0*rand_double() ) - 500.0;
-		im = ( 1000.0*rand_double() ) - 500.0;
-		z1 = stdlib_complex128( re, im );
+		// Get real and imaginary values from the arrays using i % 100:
+		z1 = stdlib_complex128( re_array[ i % ARRAY_SIZE ], im_array[ i % ARRAY_SIZE ] );
 
 		z2 = stdlib_base_ccis( z1 );
-		stdlib_complex128_reim( z2, &re, &im );
-		if ( re != re ) {
-			printf( "should not return NaN\n" );
+
+		// Overwrite the original arrays with the result:
+		stdlib_complex128_reim( z2, &re_array[ i % ARRAY_SIZE ], &im_array[ i % ARRAY_SIZE ] );
+
+		// Check if the real part becomes NaN:
+		if ( isnan( re_array[ i % ARRAY_SIZE ] ) ) {
+			printf( "should not return NaN at index %d\n", i % ARRAY_SIZE );
 			break;
 		}
 	}
+
 	elapsed = tic() - t;
-	if ( im != im ) {
-		printf( "should not return NaN\n" );
-	}
+
 	return elapsed;
 }
 
@@ -132,11 +144,13 @@ int main( void ) {
 	srand( time( NULL ) );
 
 	print_version();
+
 	for ( i = 0; i < REPEATS; i++ ) {
 		printf( "# c::native::%s\n", NAME );
 		elapsed = benchmark();
 		print_results( elapsed );
-		printf( "ok %d benchmark finished\n", i+1 );
+		printf( "ok %d benchmark finished\n", i + 1 );
 	}
+
 	print_summary( REPEATS, REPEATS );
 }

From 0f5ac0089484fae255f15a50af2246dc354a6ea4 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Wed, 19 Mar 2025 22:59:17 +0530
Subject: [PATCH 4/8] chore: fixed C lint errors

---
 .../@stdlib/ndarray/base/nullary/src/z_as_c.c | 40 +++++++++----------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c b/lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c
index d49e0c2331e3..6f9262be54af 100644
--- a/lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c
+++ b/lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c
@@ -195,7 +195,7 @@ int8_t stdlib_ndarray_z_as_c_0d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_1d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -279,7 +279,7 @@ int8_t stdlib_ndarray_z_as_c_1d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_2d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -363,7 +363,7 @@ int8_t stdlib_ndarray_z_as_c_2d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_2d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -447,7 +447,7 @@ int8_t stdlib_ndarray_z_as_c_2d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_3d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -531,7 +531,7 @@ int8_t stdlib_ndarray_z_as_c_3d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_3d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -615,7 +615,7 @@ int8_t stdlib_ndarray_z_as_c_3d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_4d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -699,7 +699,7 @@ int8_t stdlib_ndarray_z_as_c_4d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_4d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -783,7 +783,7 @@ int8_t stdlib_ndarray_z_as_c_4d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_5d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -867,7 +867,7 @@ int8_t stdlib_ndarray_z_as_c_5d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_5d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -951,7 +951,7 @@ int8_t stdlib_ndarray_z_as_c_5d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_6d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1035,7 +1035,7 @@ int8_t stdlib_ndarray_z_as_c_6d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_6d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1119,7 +1119,7 @@ int8_t stdlib_ndarray_z_as_c_6d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_7d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1203,7 +1203,7 @@ int8_t stdlib_ndarray_z_as_c_7d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_7d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1287,7 +1287,7 @@ int8_t stdlib_ndarray_z_as_c_7d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_8d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1371,7 +1371,7 @@ int8_t stdlib_ndarray_z_as_c_8d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_8d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1455,7 +1455,7 @@ int8_t stdlib_ndarray_z_as_c_8d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_9d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1539,7 +1539,7 @@ int8_t stdlib_ndarray_z_as_c_9d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_9d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1623,7 +1623,7 @@ int8_t stdlib_ndarray_z_as_c_9d_blocked( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_10d( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1707,7 +1707,7 @@ int8_t stdlib_ndarray_z_as_c_10d( struct ndarray *arrays[], void *fcn ) {
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_10d_blocked( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;
@@ -1791,7 +1791,7 @@ int8_t stdlib_ndarray_z_as_c_10d_blocked( struct ndarray *arrays[], void *fcn )
 * stdlib_ndarray_free( x );
 */
 int8_t stdlib_ndarray_z_as_c_nd( struct ndarray *arrays[], void *fcn ) {
-	typedef stdlib_complex64_t func_type( void );
+	typedef stdlib_complex64_t func_type(const void *);
 	func_type *f = (func_type *)fcn;
 	STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 	return 0;

From d97ef105f52b5891e74886146f9048e08f9078a3 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Wed, 19 Mar 2025 23:45:14 +0530
Subject: [PATCH 5/8] chore: fixed C lint errors

---
 .../_tools/makie/plugins/makie-list-pkgs-names/lib/index.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
index 236a4e470178..01f10d24e550 100644
--- a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
+++ b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
@@ -17,21 +17,21 @@
 */
 
 'use strict';
-
 /**
 * Plugin to list package names.
 *
 * @module @stdlib/_tools/makie/plugins/makie-list-pkgs-names
 *
 * @example
-* var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs-names' );
 * var makie = require( '@stdlib/_tools/makie' );
+* var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs-names' );
+*
 * var opts = {
 *     'plugins': {
 *         'benchmark': plugin
 *     }
 * };
-*
+*/
 * // Execute the `benchmark` command:
 * makie( '/home/stdlib-js/stdlib', opts, 'benchmark' );
 */

From f56d3fcb797ec2905fdc9aab6d31487b8cd22900 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Thu, 20 Mar 2025 00:29:45 +0530
Subject: [PATCH 6/8] chore: fixed C lint errors

---
 .../_tools/makie/plugins/makie-list-pkgs-names/lib/index.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
index 01f10d24e550..88ae6d8ddbb9 100644
--- a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
+++ b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
@@ -17,21 +17,22 @@
 */
 
 'use strict';
+
 /**
 * Plugin to list package names.
 *
 * @module @stdlib/_tools/makie/plugins/makie-list-pkgs-names
 *
 * @example
-* var makie = require( '@stdlib/_tools/makie' );
 * var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs-names' );
+* var makie = require( '@stdlib/_tools/makie' );
 *
 * var opts = {
 *     'plugins': {
 *         'benchmark': plugin
 *     }
 * };
-*/
+*
 * // Execute the `benchmark` command:
 * makie( '/home/stdlib-js/stdlib', opts, 'benchmark' );
 */
@@ -40,7 +41,6 @@
 
 var main = require( './main.js' );
 
-
 // EXPORTS //
 
 module.exports = main;

From 5d96294809eaa25b1b4c9f7ee4a07da6a37bae10 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Thu, 20 Mar 2025 00:39:20 +0530
Subject: [PATCH 7/8] chore: fixed C lint errors

---
 .../_tools/makie/plugins/makie-list-pkgs-names/lib/index.js     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
index 88ae6d8ddbb9..27e23bc6ca09 100644
--- a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
+++ b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-list-pkgs-names/lib/index.js
@@ -24,8 +24,8 @@
 * @module @stdlib/_tools/makie/plugins/makie-list-pkgs-names
 *
 * @example
-* var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs-names' );
 * var makie = require( '@stdlib/_tools/makie' );
+* var plugin = require( '@stdlib/_tools/makie/plugins/makie-list-pkgs-names' );
 *
 * var opts = {
 *     'plugins': {

From 42e8435dbc126489ecf2049542754bfd50ebe125 Mon Sep 17 00:00:00 2001
From: JaySoni1 <jaygsoni14@gmail.com>
Date: Thu, 20 Mar 2025 00:58:04 +0530
Subject: [PATCH 8/8] chore: fixed C lint errors

---
 .../@stdlib/stats/base/dists/uniform/mgf/test/test.native.js   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/node_modules/@stdlib/stats/base/dists/uniform/mgf/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/uniform/mgf/test/test.native.js
index bc312890bdf3..a1da3dddd82f 100644
--- a/lib/node_modules/@stdlib/stats/base/dists/uniform/mgf/test/test.native.js
+++ b/lib/node_modules/@stdlib/stats/base/dists/uniform/mgf/test/test.native.js
@@ -81,7 +81,8 @@ tape( 'if provided `a >= b`, the function returns `NaN`', opts, function test( t
 	t.end();
 });
 
-tape( 'if provided valid parameters, the function returns `1` for `t = 0`', function test( t ) {
+// FIXED TEST - added opts argument here 
+tape( 'if provided valid parameters, the function returns `1` for `t = 0`', opts, function test( t ) {
 	var y;
 
 	y = mgf( 0.0, 2.0, 4.0 );