summaryrefslogtreecommitdiff
path: root/sys/src/liboventi/strdup.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-04-13 01:09:45 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-04-13 01:09:45 +0200
commita5268a54131f53b51e778a7f6157da53cdbe3142 (patch)
treeadb177241ca239ed0d64f78a2fea339ee025123a /sys/src/liboventi/strdup.c
parentffb0199247c2c748887f0782538545c75a304f88 (diff)
remove unused liboventi
Diffstat (limited to 'sys/src/liboventi/strdup.c')
-rw-r--r--sys/src/liboventi/strdup.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/src/liboventi/strdup.c b/sys/src/liboventi/strdup.c
deleted file mode 100644
index a19648eb2..000000000
--- a/sys/src/liboventi/strdup.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <u.h>
-#include <libc.h>
-#include <oventi.h>
-
-char*
-vtStrDup(char *s)
-{
- int n;
- char *ss;
-
- if(s == nil)
- return nil;
- n = strlen(s) + 1;
- ss = vtMemAlloc(n);
- memmove(ss, s, n);
- setmalloctag(ss, getcallerpc(&s));
- return ss;
-}
-