summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-10-24 11:47:37 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-10-24 11:47:37 +0000
commit974a5cb2ea7e3ed909e300147627e232e65e5358 (patch)
tree98f55c70c901fde73f92b32d53664e91a95173fd
parentf89a51f70fed507672e3496f67c57d063c6f7cda (diff)
Adjust ldapclient prototype to prevent an "argument of type 'int[2]' with
mismatched bound" warning. OK tb@
-rw-r--r--usr.sbin/ypldap/ypldap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/ypldap.h b/usr.sbin/ypldap/ypldap.h
index 8baa0f12b03..7ee1149fa77 100644
--- a/usr.sbin/ypldap/ypldap.h
+++ b/usr.sbin/ypldap/ypldap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypldap.h,v 1.24 2023/07/18 13:06:33 claudio Exp $ */
+/* $OpenBSD: ypldap.h,v 1.25 2024/10/24 11:47:36 claudio Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -198,7 +198,7 @@ int parse_config(struct env *, const char *, int);
int cmdline_symset(char *);
/* ldapclient.c */
-pid_t ldapclient(int []);
+pid_t ldapclient(int [2]);
/* ypldap.c */
void purge_config(struct env *);