aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-04-27 21:45:25 -0400
committerSam Anthony <sam@samanthony.xyz>2025-04-27 21:45:25 -0400
commit40742d7d31a8c51f416b52a2a203c312bca8795e (patch)
treeb01457146525bd9cb17be331697e7c3798b70927 /util.h
parent3421dfc10b2fbb00a3cea97619d7d0feccd79965 (diff)
downloadvolute-40742d7d31a8c51f416b52a2a203c312bca8795e.zip
move free_arr() into util.c
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 0a48edd..8c7a28d 100644
--- a/util.h
+++ b/util.h
@@ -1,3 +1,5 @@
#define nelem(arr) (sizeof(arr)/sizeof(arr[0]))
#define min(a, b) ((a < b) ? a : b)
#define max(a, b) ((a > b) ? a : b)
+
+void free_arr(void **arr, int n);