Skip to content

Commit 094c93b

Browse files
committed
Update generate_cube.c
1 parent 1d394dd commit 094c93b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LookupTable/generate_cube.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
#include <stdio.h>
1414
#include <stdlib.h>
1515

16-
typedef uint32_t (*lut_func_t)(uint32_t);
16+
typedef uint32_t (*lut_fn_t)(uint32_t);
1717

1818
// Function to generate a LUT dynamically
19-
uint32_t* generate_lut(size_t size, lut_func_t func) {
19+
uint32_t* generate_lut(size_t size, lut_fn_t func) {
2020
uint32_t* table = malloc(size * sizeof(uint32_t));
2121
if (table == NULL) {
2222
return NULL;

0 commit comments

Comments
 (0)