diff options
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; -} |