aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dynarray_struct.c
diff options
context:
space:
mode:
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};