fix error in conditional define (and move it after header)
[yaffs2.git] / yaffs_tagscompat.c
index 7f8442c05f2f251001232dd4929cc41edcb28807..7622b1af7c0d3ff3970e7020fe69dbd062fd3dec 100644 (file)
@@ -9,7 +9,6 @@
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- *
  */
 
 #include "yaffs_guts.h"
@@ -46,7 +45,7 @@ static const char yaffs_countBitsTable[256] = {
        4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8
 };
 
-static int yaffs_CountBits(__u8 x)
+int yaffs_CountBits(__u8 x)
 {
        int retVal;
        retVal = yaffs_countBitsTable[x];