projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fdtdec: support multiple phandles in memory carveout
[oweals/u-boot.git]
/
lib
/
string.c
diff --git
a/lib/string.c
b/lib/string.c
index 9b779ddc3bbe42b6df36a70c3ece2213b40e5fa6..ae7835f600d973833d7dff62e687bd5128d7a321 100644
(file)
--- a/
lib/string.c
+++ b/
lib/string.c
@@
-324,7
+324,6
@@
char * strdup(const char *s)
strcpy (new, s);
return new;
}
-#endif
char * strndup(const char *s, size_t n)
{
@@
-348,6
+347,7
@@
char * strndup(const char *s, size_t n)
return new;
}
+#endif
#ifndef __HAVE_ARCH_STRSPN
/**