diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-13 23:59:52 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-13 23:59:52 +0000 |
commit | 86b5b2210f0ea0158af81b9da1f6849ea7dcea5d (patch) | |
tree | b7e23fd3c844849d188813323076c93105a57d4d /include/libbb.h | |
parent | b2f7a26679f7d538944f4725e92b512745cff948 (diff) | |
download | busybox-w32-86b5b2210f0ea0158af81b9da1f6849ea7dcea5d.tar.gz busybox-w32-86b5b2210f0ea0158af81b9da1f6849ea7dcea5d.tar.bz2 busybox-w32-86b5b2210f0ea0158af81b9da1f6849ea7dcea5d.zip |
teach find_root_device to deal with /dev/ subdirs
(by "Kirill K. Smirnov" <lich@math.spbu.ru>)
git-svn-id: svn://busybox.net/trunk/busybox@18435 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 29ee8daae..212b048de 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -405,6 +405,7 @@ extern char *xasprintf(const char *format, ...) __attribute__ ((format (printf, | |||
405 | #define NOT_LONE_DASH(s) ((s)[0] != '-' || (s)[1]) | 405 | #define NOT_LONE_DASH(s) ((s)[0] != '-' || (s)[1]) |
406 | #define LONE_CHAR(s,c) ((s)[0] == (c) && !(s)[1]) | 406 | #define LONE_CHAR(s,c) ((s)[0] == (c) && !(s)[1]) |
407 | #define NOT_LONE_CHAR(s,c) ((s)[0] != (c) || (s)[1]) | 407 | #define NOT_LONE_CHAR(s,c) ((s)[0] != (c) || (s)[1]) |
408 | #define DOT_OR_DOTDOT(s) ((s)[0] == '.' && (!(s)[1] || ((s)[1] == '.' && !(s)[2]))) | ||
408 | 409 | ||
409 | /* dmalloc will redefine these to it's own implementation. It is safe | 410 | /* dmalloc will redefine these to it's own implementation. It is safe |
410 | * to have the prototypes here unconditionally. */ | 411 | * to have the prototypes here unconditionally. */ |