summaryrefslogtreecommitdiff
path: root/src/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.c')
-rw-r--r--src/blob.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/blob.c b/src/blob.c
index 8413a3b..27de70d 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -676,16 +676,3 @@ void apk_blob_pull_base64(apk_blob_t *b, apk_blob_t to)
err:
*b = APK_BLOB_NULL;
}
-
-#if defined(__GLIBC__) && !defined(__UCLIBC__)
-size_t strlcpy(char *dst, const char *src, size_t size)
-{
- size_t ret = strlen(src), len;
- if (!size) return ret;
- len = ret;
- if (len >= size) len = size - 1;
- memcpy(dst, src, len);
- dst[len] = 0;
- return ret;
-}
-#endif