about summary refs log tree commit diff
path: root/Src/mem.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2000-09-19 15:54:30 +0000
committerClint Adams <clint@users.sourceforge.net>2000-09-19 15:54:30 +0000
commit946085efa5b9b949664ab94fcda302914936a1c5 (patch)
treee1a315ed56b642e66fdc6ecdf766cb29727687b7 /Src/mem.c
parent3ce3caeec63d4afa4014ca9fdc27d2d096265f14 (diff)
downloadzsh-946085efa5b9b949664ab94fcda302914936a1c5.tar.gz
zsh-946085efa5b9b949664ab94fcda302914936a1c5.tar.xz
zsh-946085efa5b9b949664ab94fcda302914936a1c5.zip
12846: moved simple string manipulation functions to string.c
Diffstat (limited to 'Src/mem.c')
-rw-r--r--Src/mem.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/Src/mem.c b/Src/mem.c
index d97fee592..b21ef210f 100644
--- a/Src/mem.c
+++ b/Src/mem.c
@@ -507,32 +507,6 @@ zrealloc(void *ptr, size_t size)
 }
 
 /**/
-mod_export char *
-dupstring(const char *s)
-{
-    char *t;
-
-    if (!s)
-	return NULL;
-    t = (char *) zhalloc(strlen((char *)s) + 1);
-    strcpy(t, s);
-    return t;
-}
-
-/**/
-mod_export char *
-ztrdup(const char *s)
-{
-    char *t;
-
-    if (!s)
-	return NULL;
-    t = (char *)zalloc(strlen((char *)s) + 1);
-    strcpy(t, s);
-    return t;
-}
-
-/**/
 #ifdef ZSH_MEM
 
 /*