# HG changeset patch # User Michael Spacefalcon # Date 1397884991 0 # Node ID 7e878e6b9cf7b99bbc9cb26ecc18ce4ca72b7f85 # Parent ffb0442ffccfc175a45277c32bd201541e8d224b gsm-fw/gpf/tst_drv: tif2.c compiles diff -r ffb0442ffccf -r 7e878e6b9cf7 gsm-fw/gpf/tst_drv/iram/Makefile --- a/gsm-fw/gpf/tst_drv/iram/Makefile Sat Apr 19 00:18:44 2014 +0000 +++ b/gsm-fw/gpf/tst_drv/iram/Makefile Sat Apr 19 05:23:11 2014 +0000 @@ -3,7 +3,7 @@ CPPFLAGS=-I../../inc -DRUN_INT_RAM VPATH= .. -OBJS= ser_tr.o titrc.o +OBJS= ser_tr.o tif2.o titrc.o all: ${OBJS} diff -r ffb0442ffccf -r 7e878e6b9cf7 gsm-fw/gpf/tst_drv/tif2.c --- a/gsm-fw/gpf/tst_drv/tif2.c Sat Apr 19 00:18:44 2014 +0000 +++ b/gsm-fw/gpf/tst_drv/tif2.c Sat Apr 19 05:23:11 2014 +0000 @@ -21,14 +21,17 @@ #define __TIF_C__ #endif +#include +#include "gpfconf.h" #include "typedefs.h" -#include "string.h" #include "gdi.h" #include "vsi.h" #include "tools.h" #include "glob_defs.h" +#if 0 // FreeCalypso #include "ccdtable.h" #include "ccddata.h" +#endif #include "pcon.h" #include "p_mem.h" #include "drvconf.h" @@ -956,7 +959,7 @@ */ if (CorruptByteOffset) { - s_hdr->time = NULL; + s_hdr->time = 0; /* FreeCalypso: changed from NULL */ #ifndef _TOOLS_ memcpy ( s_hdr->snd, "~TST", 4 ); memcpy ( s_hdr->rcv, FRM_TST_NAME, 4 ); diff -r ffb0442ffccf -r 7e878e6b9cf7 gsm-fw/gpf/tst_drv/xip/Makefile --- a/gsm-fw/gpf/tst_drv/xip/Makefile Sat Apr 19 00:18:44 2014 +0000 +++ b/gsm-fw/gpf/tst_drv/xip/Makefile Sat Apr 19 05:23:11 2014 +0000 @@ -3,7 +3,7 @@ CPPFLAGS=-I../../inc -DRUN_FLASH VPATH= .. -OBJS= ser_tr.o titrc.o tr2.o +OBJS= ser_tr.o tif2.o titrc.o tr2.o all: ${OBJS}