From 923f73d334e7969a814d09cbba3a2a416ac7b0dc Mon Sep 17 00:00:00 2001 From: graham.gower Date: Tue, 03 Nov 2009 21:13:22 -0500 Subject: 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 --- (limited to 'libopkg/str_util.c') 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; -} - -- cgit v0.9.1