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

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-01-29 23:58:42 +01:00
1 parent c6a6f20445
commit 9079d3ed4e
2 files changed
+10

No files matched your search

+6
View File
@@ -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