Subversion Repositories freemyipod

Rev

Rev 72 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 72 Rev 111
Line 24... Line 24...
24
#include "stdio.h"
24
#include "stdio.h"
25
#include "fat.h"
25
#include "fat.h"
26
#include "storage.h"
26
#include "storage.h"
27
#include "debug.h"
27
#include "debug.h"
28
#include "panic.h"
28
#include "panic.h"
29
#include "ctype.h"
29
#include "libc/include/ctype.h"
30
 
30
 
31
#define BYTES2INT16(array,pos) \
31
#define BYTES2INT16(array,pos) \
32
          (array[pos] | (array[pos+1] << 8 ))
32
          (array[pos] | (array[pos+1] << 8 ))
33
#define BYTES2INT32(array,pos) \
33
#define BYTES2INT32(array,pos) \
34
    ((long)array[pos] | ((long)array[pos+1] << 8 ) | \
34
    ((long)array[pos] | ((long)array[pos+1] << 8 ) | \