head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.05.19.08.28.13; author jperkin; state Exp; branches; next ; commitid TnNwE51ldPLsUoGG; desc @@ 1.1 log @openldap: Fix for modern C. @ text @$NetBSD$ Fix for modern C. --- include/ac/unistd.h.orig 2026-05-19 08:26:56.915523060 +0000 +++ include/ac/unistd.h @@@@ -32,7 +32,7 @@@@ /* note: callers of crypt(3) should include */ #if defined(HAVE_GETPASSPHRASE) -LDAP_LIBC_F(char*)(getpassphrase)(); +LDAP_LIBC_F(char*)(getpassphrase)(const char *); #else #define getpassphrase(p) lutil_getpass(p) @