mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
string: Allow arch override of strndup() also
At present architectures can override strdup() but not strndup(). Use the same option for both. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1f6510c4cf
commit
1ea1c7d80f
2 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ size_t strcspn(const char *s, const char *reject);
|
|||
|
||||
#ifndef __HAVE_ARCH_STRDUP
|
||||
extern char * strdup(const char *);
|
||||
#endif
|
||||
extern char * strndup(const char *, size_t);
|
||||
#endif
|
||||
#ifndef __HAVE_ARCH_STRSWAB
|
||||
extern char * strswab(const char *);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue