aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-05-28 04:15:57 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-05-28 04:15:57 +0000
commit42f519347e54937cc0d4d07a9237ce1a4c47aa0d (patch)
treeb6b44e8c03c51838673410875afd05817c47721e /lib
parenteaff481c05a768ddf79005722644b01ecba2f55d (diff)
downloadsrc-42f519347e54937cc0d4d07a9237ce1a4c47aa0d.tar.gz
src-42f519347e54937cc0d4d07a9237ce1a4c47aa0d.zip
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/tests/nss/getproto_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/tests/nss/getproto_test.c b/lib/libc/tests/nss/getproto_test.c
index dab620c0ca9c..5e2bec50b20b 100644
--- a/lib/libc/tests/nss/getproto_test.c
+++ b/lib/libc/tests/nss/getproto_test.c
@@ -288,7 +288,7 @@ protoent_fill_test_data(struct protoent_test_data *td)
}
static int
-protoent_test_correctness(struct protoent *pe, void *mdata)
+protoent_test_correctness(struct protoent *pe, void *mdata __unused)
{
printf("testing correctness with the following data:\n");
dump_protoent(pe);
@@ -388,7 +388,7 @@ protoent_test_getprotobynumber(struct protoent *pe_model, void *mdata)
}
static int
-protoent_test_getprotoent(struct protoent *pe, void *mdata)
+protoent_test_getprotoent(struct protoent *pe, void *mdata __unused)
{
/* Only correctness can be checked when doing 1-pass test for
* getprotoent(). */