* grub-core/lib/posix_wrap/string.h (memchr): New function.
This commit is contained in:
parent
c6a6f20445
commit
9079d3ed4e
2 changed files with 10 additions and 0 deletions
|
@ -96,4 +96,10 @@ strcoll (const char *s1, const char *s2)
|
|||
return grub_strcmp (s1, s2);
|
||||
}
|
||||
|
||||
static inline void *
|
||||
memchr (const void *s, int c, size_t n)
|
||||
{
|
||||
return grub_memchr (s, c, n);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue