From: batt Date: Mon, 10 Dec 2007 16:37:26 +0000 (+0000) Subject: Reformat. X-Git-Tag: 1.0.0~208 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=878fe450e1f02eb514116615871b0eb339b2f8d5;p=bertos.git Reformat. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1034 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/fs/battfs.h b/fs/battfs.h index ff49eaa8..640465d8 100644 --- a/fs/battfs.h +++ b/fs/battfs.h @@ -75,6 +75,9 @@ typedef struct BattFsPageHeader */ fcs_t fcs; } BattFsPageHeader; +/* Ensure structure has no padding added */ +STATIC_ASSERT(sizeof(BattFsPageHeader) == 12); + /** * Mark for valid pages. @@ -92,9 +95,6 @@ typedef struct BattFsPageHeader */ #define BATTFS_FREE_INODE (BATTFS_MAX_FILES - 1) -/* Ensure structure has no padding added */ -STATIC_ASSERT(sizeof(BattFsPageHeader) == 12); - /* Fwd decl */ struct BattFsSuper;