* grub-core/lib/posix_wrap/string.h (memchr): New function.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-29 23:58:42 +01:00
parent c6a6f20445
commit 9079d3ed4e
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/posix_wrap/string.h (memchr): New function.
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com> 2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* po/POTFILES.in: Regenerate. * po/POTFILES.in: Regenerate.

View file

@ -96,4 +96,10 @@ strcoll (const char *s1, const char *s2)
return grub_strcmp (s1, 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 #endif