summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-06-14 11:08:27 +0000
committerngie <ngie@FreeBSD.org>2015-06-14 11:08:27 +0000
commit862ab3b5dfc45c985ec58713f934671e2214d414 (patch)
tree67afdf4700da5037a2b472dd65f5cbb92fa57853 /tests
parentffa05a49da20a04aced8584d90281fd4488cafd9 (diff)
downloadFreeBSD-src-862ab3b5dfc45c985ec58713f934671e2214d414.zip
FreeBSD-src-862ab3b5dfc45c985ec58713f934671e2214d414.tar.gz
Fix some -Wunused warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/file/ftruncate_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys/file/ftruncate_test.c b/tests/sys/file/ftruncate_test.c
index 7eaba14..b657aca 100644
--- a/tests/sys/file/ftruncate_test.c
+++ b/tests/sys/file/ftruncate_test.c
@@ -57,7 +57,7 @@ static off_t lengths[] = {0, 1, 2, 3, 4, 127, 128, 129, 511, 512, 513, 1023,
static int lengths_count = sizeof(lengths) / sizeof(off_t);
int
-main(int argc, char *argv[])
+main(void)
{
int error, fd, fds[2], i, read_only_fd;
char path[PATH_MAX];
OpenPOWER on IntegriCloud