summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-13 11:47:41 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-14 08:09:09 +0100
commita7591fbb73410d1a7649701d06c52ee5ccf6aadb (patch)
tree667c52e2fe8f8db1ab0dc0826fedd82c0d5fac6f
parent476e1339ef1a90358a90332ba10d1a90bdf7a681 (diff)
downloadcurl-a7591fbb73410d1a7649701d06c52ee5ccf6aadb.tar.gz
ldap: remove Curl_ prefix from static functions
-rw-r--r--lib/ldap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 0a1f02d5b..8e8aad1a7 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -126,7 +126,7 @@ static void _ldap_free_urldesc(LDAPURLDesc *ludp);
#endif
-static CURLcode Curl_ldap(struct connectdata *conn, bool *done);
+static CURLcode ldap_do(struct connectdata *conn, bool *done);
/*
* LDAP protocol handler.
@@ -135,7 +135,7 @@ static CURLcode Curl_ldap(struct connectdata *conn, bool *done);
const struct Curl_handler Curl_handler_ldap = {
"LDAP", /* scheme */
ZERO_NULL, /* setup_connection */
- Curl_ldap, /* do_it */
+ ldap_do, /* do_it */
ZERO_NULL, /* done */
ZERO_NULL, /* do_more */
ZERO_NULL, /* connect_it */
@@ -162,7 +162,7 @@ const struct Curl_handler Curl_handler_ldap = {
const struct Curl_handler Curl_handler_ldaps = {
"LDAPS", /* scheme */
ZERO_NULL, /* setup_connection */
- Curl_ldap, /* do_it */
+ ldap_do, /* do_it */
ZERO_NULL, /* done */
ZERO_NULL, /* do_more */
ZERO_NULL, /* connect_it */
@@ -266,7 +266,7 @@ static int ldap_win_bind(struct connectdata *conn, LDAP *server,
#endif
-static CURLcode Curl_ldap(struct connectdata *conn, bool *done)
+static CURLcode ldap_do(struct connectdata *conn, bool *done)
{
CURLcode result = CURLE_OK;
int rc = 0;