git: 6bd60e15b148 - main - libc: Specify parameter types for function pointer

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 04 Feb 2024 01:53:29 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=6bd60e15b1484c6a3f5a87469e42a8e6ad9ab733

commit 6bd60e15b1484c6a3f5a87469e42a8e6ad9ab733
Author:     Minsoo Choo <minsoochoo0122@proton.me>
AuthorDate: 2024-02-04 01:07:18 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-02-04 01:08:59 +0000

    libc: Specify parameter types for function pointer
    
    Reviewed by:    dab
    MFC after:      1 week
    Differential Revision: https://reviews.freebsd.org/D43726
---
 lib/libc/yp/yplib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/yp/yplib.c b/lib/libc/yp/yplib.c
index d222200ed728..95ed526b2e75 100644
--- a/lib/libc/yp/yplib.c
+++ b/lib/libc/yp/yplib.c
@@ -91,7 +91,7 @@ struct dom_binding {
 
 bool_t xdr_ypresp_all_seq(XDR *xdrs, u_long *objp);
 
-int (*ypresp_allfn)();
+int (*ypresp_allfn)(unsigned long, char *, int, char *, int, void *);
 void *ypresp_data;
 
 static void _yp_unbind(struct dom_binding *);