#define FS_BATTFS_H
#include <cfg/compiler.h> // uintXX_t; STATIC_ASSERT
-#include <cpu/types.h>
+#include <cpu/types.h> // CPU_BITS_PER_CHAR
typedef uint16_t fill_t;
typedef uint16_t pgoff_t;
/**
* Reserve 2 bits from fill field to allocate seq number.
*/
-#define FILLSIZE ((sizeof(filled_t) * CPU_BITS_PER_CHAR) - 2)
+#define FILLSIZE ((sizeof(fill_t) * CPU_BITS_PER_CHAR) - 2)
+
/**
* BattFS page header.
*/
typedef bool (*disk_page_erase_t) (struct BattFsSuper *d, battfs_page_t page);
-typedef uint32_t disk_size_t ///< Type for disk sizes.
+typedef uint32_t disk_size_t; ///< Type for disk sizes.
/**
* Context used to describe a disk.