mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
getserv_test: mark unused parameters __unused to fix corresponding
warnings MFC after: 3 days Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
93ee3b7e9b
commit
2b19d77418
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319039
@ -300,7 +300,7 @@ servent_fill_test_data(struct servent_test_data *td)
|
||||
}
|
||||
|
||||
static int
|
||||
servent_test_correctness(struct servent *serv, void *mdata)
|
||||
servent_test_correctness(struct servent *serv, void *mdata __unused)
|
||||
{
|
||||
printf("testing correctness with the following data:\n");
|
||||
dump_servent(serv);
|
||||
@ -403,7 +403,7 @@ servent_test_getservbyport(struct servent *serv_model, void *mdata)
|
||||
}
|
||||
|
||||
static int
|
||||
servent_test_getservent(struct servent *serv, void *mdata)
|
||||
servent_test_getservent(struct servent *serv, void *mdata __unused)
|
||||
{
|
||||
/* Only correctness can be checked when doing 1-pass test for
|
||||
* getservent(). */
|
||||
|
Loading…
Reference in New Issue
Block a user