summaryrefslogtreecommitdiff
path: root/sys/src/ape
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-12-28 05:14:10 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-12-28 05:14:10 +0100
commit7143b286b7b57eed2b49ba143dcae90be3716b0e (patch)
tree51d097b34895fd2e86dd76e37a78792aadf49638 /sys/src/ape
parent4aa68d2f3a10b81fecc27550c9e1bb05b7b74887 (diff)
ape: move strdup() from libbsd to libap (from sources)
including <string.h> should be enougth to make strdup() available.
Diffstat (limited to 'sys/src/ape')
-rw-r--r--sys/src/ape/lib/ap/gen/mkfile1
-rw-r--r--sys/src/ape/lib/ap/gen/strdup.c (renamed from sys/src/ape/lib/bsd/strdup.c)0
-rw-r--r--sys/src/ape/lib/bsd/mkfile1
3 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/ape/lib/ap/gen/mkfile b/sys/src/ape/lib/ap/gen/mkfile
index 970e04aff..6594587f4 100644
--- a/sys/src/ape/lib/ap/gen/mkfile
+++ b/sys/src/ape/lib/ap/gen/mkfile
@@ -55,6 +55,7 @@ ALLOFILES=\
strtoull.$O\
strxfrm.$O\
toupper.$O\
+ strdup.$O\
# cull things in the per-machine directories from this list
OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
diff --git a/sys/src/ape/lib/bsd/strdup.c b/sys/src/ape/lib/ap/gen/strdup.c
index 5e4a3759e..5e4a3759e 100644
--- a/sys/src/ape/lib/bsd/strdup.c
+++ b/sys/src/ape/lib/ap/gen/strdup.c
diff --git a/sys/src/ape/lib/bsd/mkfile b/sys/src/ape/lib/bsd/mkfile
index 886b599ee..90fefd36b 100644
--- a/sys/src/ape/lib/bsd/mkfile
+++ b/sys/src/ape/lib/bsd/mkfile
@@ -49,7 +49,6 @@ OFILES=\
strncasecmp.$O\
socket.$O\
socketpair.$O\
- strdup.$O\
pty.$O\
writev.$O\