summaryrefslogtreecommitdiff
path: root/tests/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ftruncate.c')
-rw-r--r--tests/ftruncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftruncate.c b/tests/ftruncate.c
index d3e5de3afbe..46123762ef7 100644
--- a/tests/ftruncate.c
+++ b/tests/ftruncate.c
@@ -11,7 +11,7 @@
#define DATA "conftest.trunc"
#define LEN 7663
-main()
+int main(void)
{
int *buf;
int fd = open(DATA,O_RDWR|O_CREAT|O_TRUNC,0666);