Skip to content

Commit 1f29d17

Browse files
committed
structtest: fix imports
1 parent 0817fb5 commit 1f29d17

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

testdata/structtest/struct_test.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// SPDX-FileCopyrightText: 2024 The Ebitengine Authors
33

44
#include "stdint.h"
5+
#include <stdio.h>
6+
#include <stdlib.h>
57

68
#if defined(__x86_64__) || defined(__aarch64__)
79
typedef int64_t GoInt;
@@ -369,9 +371,6 @@ struct FourInt32s {
369371
int32_t f3;
370372
};
371373

372-
#include <stdio.h>
373-
#include <stdlib.h>
374-
375374
char* FourInt32s(struct FourInt32s s) {
376375
char* result = malloc(64);
377376
snprintf(result, 64, "%d:%d:%d:%d", s.f0, s.f1, s.f2, s.f3);

0 commit comments

Comments
 (0)