diff --git a/ChangeLog b/ChangeLog index b10b7ab50..582daf40d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-01-29 Vladimir Serbinenko + + * grub-core/lib/posix_wrap/string.h (memchr): New function. + 2012-01-29 Vladimir Serbinenko * po/POTFILES.in: Regenerate. diff --git a/grub-core/lib/posix_wrap/string.h b/grub-core/lib/posix_wrap/string.h index 7e18b1a04..77fbe383b 100644 --- a/grub-core/lib/posix_wrap/string.h +++ b/grub-core/lib/posix_wrap/string.h @@ -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