1[PATCH] Fix build issue with uclibc
2
3Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
4---
5 core/adbd/adb_auth_client.c | 2 +-
6 2 files changed, 2 insertions(+), 2 deletions(-)
7
8diff --git a/core/adb/adb_auth_client.c b/core/adb/adb_auth_client.c
9index 0b4913e..068d837 100644
10--- a/core/adb/adb_auth_client.c
11+++ b/core/adb/adb_auth_client.c
12@@ -72,7 +72,7 @@ static void read_keys(const char *file, struct listnode *list)
13         if (sep)
14             *sep = '\0';
15
16-        ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
17+        ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
18         if (ret != sizeof(key->key)) {
19             D("%s: Invalid base64 data ret=%d\n", file, ret);
20             free(key);
21diff --git a/core/adbd/adb_auth_client.c b/core/adbd/adb_auth_client.c
22index 0b4913e..068d837 100644
23--- a/core/adbd/adb_auth_client.c
24+++ b/core/adbd/adb_auth_client.c
25@@ -72,7 +72,7 @@ static void read_keys(const char *file, struct listnode *list)
26         if (sep)
27             *sep = '\0';
28
29-        ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
30+        ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
31         if (ret != sizeof(key->key)) {
32             D("%s: Invalid base64 data ret=%d\n", file, ret);
33             free(key);
34--
352.6.1
36
37