diff gsm-fw/services/ffs/core.h @ 211:847e2585a0f2

gsm-fw/services/ffs: core.c integrated
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 26 Dec 2013 07:23:38 +0000
parents 6f4a12b4582f
children
line wrap: on
line diff
--- a/gsm-fw/services/ffs/core.h	Thu Dec 26 04:37:10 2013 +0000
+++ b/gsm-fw/services/ffs/core.h	Thu Dec 26 07:23:38 2013 +0000
@@ -117,17 +117,6 @@
 // theoretically possess a high age
 #define saturate_dage(dage) (dage > (2*FFS_DAGE_MAX) ? (2*FFS_DAGE_MAX) : dage) 
 
-/******************************************************************************
- * External declarations
- ******************************************************************************/
-
-extern struct fs_s fs;
-extern struct block_stat_s bstat[FFS_BLOCKS_MAX];
-
-extern struct ffs_stats_s stats;
-
-extern const struct block_info_s *binfo;
-
 
 /******************************************************************************
  * Block Types
@@ -203,6 +192,17 @@
     uint16      objects; // number of valid objects
 };
 
+/******************************************************************************
+ * External declarations
+ ******************************************************************************/
+
+extern struct fs_s fs;
+extern struct block_stat_s bstat[FFS_BLOCKS_MAX];
+
+extern struct ffs_stats_s stats;
+
+extern const struct block_info_s *binfo;
+
 
 /******************************************************************************
  * Object Types