To use more unified versioning and to re-use other existing code,
switch to common.h.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
* Zoltan Sogor
*/
+#define PROGRAM_NAME "mkfs.ubifs"
+
#include "mkfs.ubifs.h"
#include <crc32.h>
+#include "common.h"
#define PROGRAM_VERSION "1.5"
return size / divisor;
}
-static inline int is_power_of_2(unsigned long long n)
-{
- return (n != 0 && ((n & (n - 1)) == 0));
-}
-
static int validate_options(void)
{
int tmp;