X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_packedtags.c;fp=direct%2Fyaffs_packedtags.c;h=d290ac98171f2cacddb9031f8411eb80ba08b20e;hp=6214a71cab33b541462425db788323df0012b4db;hb=6a4a7bfdb19f0d608d85f0103f90c6bbd265bf58;hpb=881c78ae305f916e083200e4ae5d027997fc15f5 diff --git a/direct/yaffs_packedtags.c b/yaffs_packedtags.c similarity index 87% rename from direct/yaffs_packedtags.c rename to yaffs_packedtags.c index 6214a71..d290ac9 100644 --- a/direct/yaffs_packedtags.c +++ b/yaffs_packedtags.c @@ -1,5 +1,5 @@ #include "yaffs_packedtags.h" -#include +#include "yportenv.h" void yaffs_PackTags(yaffs_PackedTags *pt, yaffs_ExtendedTags *t) { @@ -16,7 +16,7 @@ void yaffs_PackTags(yaffs_PackedTags *pt, yaffs_ExtendedTags *t) void yaffs_UnpackTags(yaffs_ExtendedTags *t, yaffs_PackedTags *pt) { - static __u8 allFF[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,0xff, 0xff, 0xff, 0xff}; + static const __u8 allFF[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,0xff, 0xff, 0xff, 0xff}; if(memcmp(allFF,pt,sizeof(yaffs_PackedTags))) {