diff options
Diffstat (limited to 'tests/libfstream')
-rw-r--r-- | tests/libfstream/get_line.c | 4 | ||||
-rw-r--r-- | tests/libfstream/uncompress.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/libfstream/get_line.c b/tests/libfstream/get_line.c index a2f6d85..7d9a26a 100644 --- a/tests/libfstream/get_line.c +++ b/tests/libfstream/get_line.c @@ -143,8 +143,10 @@ static const line_t lines_no_empty_trim[] = { { 10, "dog" }, }; -int main(void) +int main(int argc, char **argv) { + (void)argc; (void)argv; + run_test_case(lines_raw, 11, 0); run_test_case(lines_ltrim, 11, ISTREAM_LINE_LTRIM); run_test_case(lines_rtrim, 11, ISTREAM_LINE_RTRIM); diff --git a/tests/libfstream/uncompress.c b/tests/libfstream/uncompress.c index 3e4679d..5f0cbec 100644 --- a/tests/libfstream/uncompress.c +++ b/tests/libfstream/uncompress.c @@ -384,13 +384,14 @@ static istream_t memstream = { .get_filename = get_filename, }; -int main(void) +int main(int argc, char **argv) { char buffer[2 * (sizeof(orig) / sizeof(orig[0]))]; const char *name; istream_t *xfrm; size_t orig_sz; int ret; + (void)argc; (void)argv; /* XXX: null terminator not included in the compressed blob */ orig_sz = (sizeof(orig) / sizeof(orig[0])) - 1; |