diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2017-02-13 07:32:55 +0000 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2017-02-14 10:32:36 -0800 |
commit | 0c441baab0a636227233e1d82839eb06d23724a0 (patch) | |
tree | 9c074a2b9f398fdf22fb866e6196c79a87de2129 /src/android_stubs.h | |
parent | e1207950e5051a7d4413737d8305e1767dd2e1b6 (diff) |
since there is no glob.h in android, copied them from
hardware/bsp/intel/peripheral/libmraa/src/glob
also remove the definition of strchrnul in android_stubs.h,
since it's already implemented in bionic
Change-Id: I757a8773e196ae86191a55cfada0c6b4b45c5727
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'src/android_stubs.h')
-rw-r--r-- | src/android_stubs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/android_stubs.h b/src/android_stubs.h index 3202635..ea32bce 100644 --- a/src/android_stubs.h +++ b/src/android_stubs.h @@ -41,10 +41,3 @@ static inline __u32 ethtool_cmd_speed(struct ethtool_cmd *ep) { return (ep->speed_hi << 16) | ep->speed; } - -static inline char *strchrnul(const char *s, int c) -{ - while (*s && (*s != c)) - s++; - return (char *)s; -} |