From 5f0f7d3428d4c8cc51fef8fcb4e7bf0ac616dab2 Mon Sep 17 00:00:00 2001 From: kraai Date: Thu, 21 Jun 2001 19:41:37 +0000 Subject: Rewrote mkdir (and touched lots of things in the process). git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- sed.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sed.c') diff --git a/sed.c b/sed.c index e7208b0b5..89b16682f 100644 --- a/sed.c +++ b/sed.c @@ -195,15 +195,6 @@ static int get_address(struct sed_cmd *sed_cmd, const char *str, int *linenum, r return idx; } -static char *strdup_substr(const char *str, int start, int end) -{ - int size = end - start + 1; - char *newstr = xmalloc(size); - memcpy(newstr, str+start, size-1); - newstr[size-1] = '\0'; - return newstr; -} - static int parse_subst_cmd(struct sed_cmd *sed_cmd, const char *substr) { int oldidx, cflags = REG_NEWLINE; -- cgit v1.2.3-55-g6feb