From 60eaea58b55482b185ff8991408efef1ec00aa2f Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 24 Oct 2024 11:47:36 +0000 Subject: [PATCH] Adjust ldapclient prototype to prevent an "argument of type 'int[2]' with mismatched bound" warning. OK tb@ --- usr.sbin/ypldap/ypldap.h | 4 ++-- 1 file 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 @@ -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 *); -- 2.20.1