aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/openldap/include/ac/string.h
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-02-13 07:58:30 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-02-13 08:10:43 +0300
commit8ee6bfd26b9e90e07e530906f5a5d4b198db6ead (patch)
tree23a6f725f21b389d874b2a0fb66342e06f6b60a5 /contrib/libs/openldap/include/ac/string.h
parent9bb0e697690361fd000af1b1939ca4a688c812e0 (diff)
downloadydb-8ee6bfd26b9e90e07e530906f5a5d4b198db6ead.tar.gz
Update contrib/libs/openldap to 2.6.7
Diffstat (limited to 'contrib/libs/openldap/include/ac/string.h')
-rw-r--r--contrib/libs/openldap/include/ac/string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/openldap/include/ac/string.h b/contrib/libs/openldap/include/ac/string.h
index c4c135410e..20a68d76bc 100644
--- a/contrib/libs/openldap/include/ac/string.h
+++ b/contrib/libs/openldap/include/ac/string.h
@@ -58,7 +58,7 @@ LDAP_F(char *) ldap_pvt_strtok LDAP_P(( char *str,
#elif !defined(_WIN32)
/* some systems fail to declare strdup */
/* Windows does not require this declaration */
- LDAP_LIBC_F(char *) (strdup)();
+ LDAP_LIBC_F(char *) (strdup) LDAP_P((const char *s));
#endif
/*
@@ -68,8 +68,8 @@ LDAP_F(char *) ldap_pvt_strtok LDAP_P(( char *str,
/* we don't want these declared for Windows or Mingw */
#ifndef _WIN32
-int (strcasecmp)();
-int (strncasecmp)();
+LDAP_LIBC_F(int) (strcasecmp) LDAP_P((const char *s1, const char *s2));
+LDAP_LIBC_F(int) (strncasecmp) LDAP_P((const char *s1, const char *s2, size_t n));
#endif
#ifndef SAFEMEMCPY