summaryrefslogtreecommitdiff
path: root/src/lib/utils.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-07-05 15:47:23 +0200
committerSander Vrijders <[email protected]>2016-07-05 15:47:23 +0200
commit63510348c9dd72e0f1d9146cfb90f88adb34e1eb (patch)
treeb737bcdcedec9ce16487c2aa931aaf5c620f28ad /src/lib/utils.c
parenta315150a16c02f3cb694e639d5aba555fce4b4c3 (diff)
parent656db09805cbff0b6af3c34f611b710116df4b82 (diff)
downloadouroboros-63510348c9dd72e0f1d9146cfb90f88adb34e1eb.tar.gz
ouroboros-63510348c9dd72e0f1d9146cfb90f88adb34e1eb.zip
Merge remote-tracking branch 'upstream/be' into be
Diffstat (limited to 'src/lib/utils.c')
-rw-r--r--src/lib/utils.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/utils.c b/src/lib/utils.c
index 49065138..acaf1176 100644
--- a/src/lib/utils.c
+++ b/src/lib/utils.c
@@ -35,25 +35,6 @@ int n_digits(unsigned i)
return n;
}
-char * strdup(const char * src)
-{
- int len = 0;
- char * dst = NULL;
-
- if (src == NULL)
- return NULL;
-
- len = strlen(src) + 1;
-
- dst = malloc(len);
- if (dst == NULL)
- return NULL;
-
- memcpy(dst, src, len);
-
- return dst;
-}
-
char * path_strip(char * src)
{
char * dst = NULL;