aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dynarray_struct.c
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-06-28 00:06:40 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-06-28 00:52:08 +0300
commitebad5ad23dc6893b0fb75ba04aa961a25a532b5f (patch)
treec025946d4248b46aceae3e15c19efd29b2d12af2 /tests/dynarray_struct.c
parent28bb6070e64f25aa6ff64f81b59a7f52e12d4092 (diff)
Finished hash_map implementation
TODO: fix that one linked list function
Diffstat (limited to 'tests/dynarray_struct.c')
-rw-r--r--tests/dynarray_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dynarray_struct.c b/tests/dynarray_struct.c
index 6cce97c..7675ab4 100644
--- a/tests/dynarray_struct.c
+++ b/tests/dynarray_struct.c
@@ -27,7 +27,7 @@ int point_abs(const void* a, const void* b) {
return absa-absb;
}
-int main()
+int main(void)
{
struct point *points = array_new(struct point, 4);
for (size_t i = 0; i < array_size(points); ++i) points[i] = (struct point){.x = i, .y = 2 * i, .z = 4 * i, .w = 8 * i};