whitespace and namespace cleanups
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
|
||||
unsigned FAST_FUNC ubi_devnum_from_devname(const char *str)
|
||||
{
|
||||
unsigned ubi_devnum;
|
||||
unsigned ubi_devnum;
|
||||
|
||||
if (sscanf(str, "/dev/ubi%u", &ubi_devnum) != 1)
|
||||
bb_error_msg_and_die("not an UBI device: '%s'", str);
|
||||
if (sscanf(str, "/dev/ubi%u", &ubi_devnum) != 1)
|
||||
bb_error_msg_and_die("not an UBI device: '%s'", str);
|
||||
return ubi_devnum;
|
||||
}
|
||||
|
||||
int FAST_FUNC get_volid_by_name(unsigned ubi_devnum, const char *vol_name)
|
||||
int FAST_FUNC ubi_get_volid_by_name(unsigned ubi_devnum, const char *vol_name)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
|
Reference in New Issue
Block a user