summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/ypxfr_getmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ypxfr/ypxfr_getmap.c')
-rw-r--r--libexec/ypxfr/ypxfr_getmap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libexec/ypxfr/ypxfr_getmap.c b/libexec/ypxfr/ypxfr_getmap.c
index b7ec9f2..3c3d2e7 100644
--- a/libexec/ypxfr/ypxfr_getmap.c
+++ b/libexec/ypxfr/ypxfr_getmap.c
@@ -59,11 +59,9 @@ extern enum ypstat yp_errno;
* talking to one of the slaves instead. We do need to dig into libc
* a little though, since it contains the magic XDR function we need.
*/
-int ypxfr_get_map(map, domain, host, callback)
- char *map;
- char *domain;
- char *host;
- int (*callback)();
+int
+ypxfr_get_map(char *map, char *domain, char *host,
+ int (*callback)(int, char *, int, char *, int, char*))
{
CLIENT *clnt;
ypreq_nokey req;
OpenPOWER on IntegriCloud