diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-25 04:15:37 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-25 04:15:37 +0200 |
commit | bf2af9acb28ed6d8bbe351d669daaa140d0239f0 (patch) | |
tree | 3adba401caf5c25406f89ebe053a0d9dbb043b54 /include/xatonum.h | |
parent | 4f26c97b9a2fdf6d967eafa06c67d04e432840a1 (diff) | |
download | busybox-w32-bf2af9acb28ed6d8bbe351d669daaa140d0239f0.tar.gz busybox-w32-bf2af9acb28ed6d8bbe351d669daaa140d0239f0.tar.bz2 busybox-w32-bf2af9acb28ed6d8bbe351d669daaa140d0239f0.zip |
flash_lock, flash_unlock: new applets
By Thierry Reding (thierry.reding AT avionic-design.de)
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/xatonum.h')
-rw-r--r-- | include/xatonum.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xatonum.h b/include/xatonum.h index ee816efb4..864d2a383 100644 --- a/include/xatonum.h +++ b/include/xatonum.h | |||
@@ -22,6 +22,7 @@ unsigned type xato##UT##_sfx(const char *str, const struct suffix_mult *sfx) FAS | |||
22 | unsigned type xato##UT(const char *str) FAST_FUNC; \ | 22 | unsigned type xato##UT(const char *str) FAST_FUNC; \ |
23 | type xstrto##T##_range_sfx(const char *str, int b, type l, type u, const struct suffix_mult *sfx) FAST_FUNC; \ | 23 | type xstrto##T##_range_sfx(const char *str, int b, type l, type u, const struct suffix_mult *sfx) FAST_FUNC; \ |
24 | type xstrto##T##_range(const char *str, int b, type l, type u) FAST_FUNC; \ | 24 | type xstrto##T##_range(const char *str, int b, type l, type u) FAST_FUNC; \ |
25 | type xstrto##T(const char *str, int b) FAST_FUNC; \ | ||
25 | type xato##T##_range_sfx(const char *str, type l, type u, const struct suffix_mult *sfx) FAST_FUNC; \ | 26 | type xato##T##_range_sfx(const char *str, type l, type u, const struct suffix_mult *sfx) FAST_FUNC; \ |
26 | type xato##T##_range(const char *str, type l, type u) FAST_FUNC; \ | 27 | type xato##T##_range(const char *str, type l, type u) FAST_FUNC; \ |
27 | type xato##T##_sfx(const char *str, const struct suffix_mult *sfx) FAST_FUNC; \ | 28 | type xato##T##_sfx(const char *str, const struct suffix_mult *sfx) FAST_FUNC; \ |
@@ -66,6 +67,9 @@ static ALWAYS_INLINE \ | |||
66 | narrow xstrto##N##_range(const char *str, int b, narrow l, narrow u) \ | 67 | narrow xstrto##N##_range(const char *str, int b, narrow l, narrow u) \ |
67 | { return xstrto##W##_range(str, b, l, u); } \ | 68 | { return xstrto##W##_range(str, b, l, u); } \ |
68 | static ALWAYS_INLINE \ | 69 | static ALWAYS_INLINE \ |
70 | narrow xstrto##N(const char *str, int b) \ | ||
71 | { return xstrto##W(str, b); } \ | ||
72 | static ALWAYS_INLINE \ | ||
69 | narrow xato##N##_range_sfx(const char *str, narrow l, narrow u, const struct suffix_mult *sfx) \ | 73 | narrow xato##N##_range_sfx(const char *str, narrow l, narrow u, const struct suffix_mult *sfx) \ |
70 | { return xato##W##_range_sfx(str, l, u, sfx); } \ | 74 | { return xato##W##_range_sfx(str, l, u, sfx); } \ |
71 | static ALWAYS_INLINE \ | 75 | static ALWAYS_INLINE \ |