comparison gsm-fw/gpf/tst_drv/tif2.c @ 326:7e878e6b9cf7

gsm-fw/gpf/tst_drv: tif2.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 19 Apr 2014 05:23:11 +0000
parents 5d1e22505446
children
comparison
equal deleted inserted replaced
325:ffb0442ffccf 326:7e878e6b9cf7
19 19
20 #ifndef __TIF_C__ 20 #ifndef __TIF_C__
21 #define __TIF_C__ 21 #define __TIF_C__
22 #endif 22 #endif
23 23
24 #include <string.h>
25 #include "gpfconf.h"
24 #include "typedefs.h" 26 #include "typedefs.h"
25 #include "string.h"
26 #include "gdi.h" 27 #include "gdi.h"
27 #include "vsi.h" 28 #include "vsi.h"
28 #include "tools.h" 29 #include "tools.h"
29 #include "glob_defs.h" 30 #include "glob_defs.h"
31 #if 0 // FreeCalypso
30 #include "ccdtable.h" 32 #include "ccdtable.h"
31 #include "ccddata.h" 33 #include "ccddata.h"
34 #endif
32 #include "pcon.h" 35 #include "pcon.h"
33 #include "p_mem.h" 36 #include "p_mem.h"
34 #include "drvconf.h" 37 #include "drvconf.h"
35 #include "tstheader.h" 38 #include "tstheader.h"
36 39
954 /* 957 /*
955 * Extract Sender and Receiverfrom header 958 * Extract Sender and Receiverfrom header
956 */ 959 */
957 if (CorruptByteOffset) 960 if (CorruptByteOffset)
958 { 961 {
959 s_hdr->time = NULL; 962 s_hdr->time = 0; /* FreeCalypso: changed from NULL */
960 #ifndef _TOOLS_ 963 #ifndef _TOOLS_
961 memcpy ( s_hdr->snd, "~TST", 4 ); 964 memcpy ( s_hdr->snd, "~TST", 4 );
962 memcpy ( s_hdr->rcv, FRM_TST_NAME, 4 ); 965 memcpy ( s_hdr->rcv, FRM_TST_NAME, 4 );
963 #else 966 #else
964 memcpy ( s_hdr->snd, FRM_TST_NAME, 4 ); 967 memcpy ( s_hdr->snd, FRM_TST_NAME, 4 );