summaryrefslogtreecommitdiffstats
path: root/libopkg/str_util.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-03 21:13:22 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-03 21:13:22 (EST)
commit923f73d334e7969a814d09cbba3a2a416ac7b0dc (patch)
treee791d181b576909ecd6f541c4d238dc7efb26a85 /libopkg/str_util.c
parent84d0ba0f9bf218898dcf33c0178449cc045ecd8c (diff)
Remove str_dup_safe() in favour of xstrdup() from libbb.
git-svn-id: http://opkg.googlecode.com/svn/trunk@253 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/str_util.c')
-rw-r--r--libopkg/str_util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libopkg/str_util.c b/libopkg/str_util.c
index 7e998f2..d583b7a 100644
--- a/libopkg/str_util.c
+++ b/libopkg/str_util.c
@@ -65,9 +65,3 @@ int str_toupper(char *str)
return 0;
}
-
-char *str_dup_safe(const char *str)
-{
- return str ? strdup(str) : NULL;
-}
-