summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 14:29:00 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 14:29:00 -0400
commite6100b5b76a71c4c1fd9f10dfd24763195b0a4f2 (patch)
tree7db3a3a0783698fc048e09ece9515dce3940b846
parent81e50e6e6d508e1bcb3bd24c0a24e4ecb06727d2 (diff)
remove warnings about unused variables
-rw-r--r--stdio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio.c b/stdio.c
index 1721f6d..cf5d6ac 100644
--- a/stdio.c
+++ b/stdio.c
@@ -7,6 +7,9 @@ void test_stdio_h(void)
FILE *file;
fpos_t fpos;
size_t size;
+ (void)file;
+ (void)fpos;
+ (void)size;
int buftypes[] = {
_IOFBF,
@@ -23,6 +26,8 @@ void test_stdio_h(void)
testing_header("stdio.h");
test_distinct(buftypes);
+ test_distinct(seeks);
+
test_min(BUFSIZ, 256);
test_min(FILENAME_MAX, 1);
test_min(FOPEN_MAX, 8);