projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ce754
)
Add in a missing header file
author
Eric Andersen
<andersen@codepoet.org>
Fri, 22 Jun 2001 02:58:45 +0000
(
02:58
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 22 Jun 2001 02:58:45 +0000
(
02:58
-0000)
libbb/strdup_substr.c
patch
|
blob
|
history
diff --git
a/libbb/strdup_substr.c
b/libbb/strdup_substr.c
index 4542d5fbe70754c423e79ea012657c62c209c424..85030b11ab2b4d0a31cd2cfe8ac5eff2e96a2870 100644
(file)
--- a/
libbb/strdup_substr.c
+++ b/
libbb/strdup_substr.c
@@
-22,6
+22,8
@@
/* Return a substring of STR, starting at index START and ending at END,
* allocated on the heap. */
+#include "libbb.h"
+
char *strdup_substr(const char *str, int start, int end)
{
int size = end - start + 1;