]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/lib/posix_wrap/string.h (memchr): New function.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 29 Jan 2012 22:58:42 +0000 (23:58 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 29 Jan 2012 22:58:42 +0000 (23:58 +0100)
ChangeLog
grub-core/lib/posix_wrap/string.h

index b10b7ab50ad1d56dc05293d8f04493f694042e81..582daf40dfa020966702ff069148f9984031efba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * po/POTFILES.in: Regenerate.
index 7e18b1a04c41f69cb3fac897f8548da342d82cff..77fbe383b925a022c2e8ef8500ae6649ade6467e 100644 (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