mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
13 lines
394 B
Diff
13 lines
394 B
Diff
--- a/include/linux/kstrtox.h
|
|
+++ b/include/linux/kstrtox.h
|
|
@@ -147,4 +147,9 @@ extern long simple_strtol(const char *,c
|
|
extern unsigned long long simple_strtoull(const char *,char **,unsigned int);
|
|
extern long long simple_strtoll(const char *,char **,unsigned int);
|
|
|
|
+static inline int strtobool(const char *s, bool *res)
|
|
+{
|
|
+ return kstrtobool(s, res);
|
|
+}
|
|
+
|
|
#endif /* _LINUX_KSTRTOX_H */
|