diff --git a/src/algorithms/libs/rtklib/rtklib_rtkpos.cc b/src/algorithms/libs/rtklib/rtklib_rtkpos.cc index 3f5dd31b0..c05da6b55 100644 --- a/src/algorithms/libs/rtklib/rtklib_rtkpos.cc +++ b/src/algorithms/libs/rtklib/rtklib_rtkpos.cc @@ -58,6 +58,19 @@ #include "rtklib_tides.h" #include "rtklib_lambda.h" +static int resamb_WLNL(rtk_t *rtk __attribute((unused)), const obsd_t *obs __attribute((unused)), const int *sat __attribute((unused)), + const int *iu __attribute((unused)), const int *ir __attribute((unused)), int ns __attribute__((unused)), const nav_t *nav __attribute((unused)), + const double *azel __attribute((unused))) {return 0;} +static int resamb_TCAR(rtk_t *rtk __attribute((unused)), const obsd_t *obs __attribute((unused)), const int *sat __attribute((unused)), + const int *iu __attribute((unused)), const int *ir __attribute((unused)), int ns __attribute((unused)), const nav_t *nav __attribute((unused)), + const double *azel __attribute((unused))) {return 0;} + +/* global variables ----------------------------------------------------------*/ +static int statlevel = 0; /* rtk status output level (0:off) */ +static FILE *fp_stat = NULL; /* rtk status file pointer */ +static char file_stat[1024] = ""; /* rtk status file original path */ +static gtime_t time_stat = {0, 0}; /* rtk status file time */ + /* open solution status file --------------------------------------------------- * open solution status file and set output level * args : char *file I rtk status file diff --git a/src/algorithms/libs/rtklib/rtklib_rtkpos.h b/src/algorithms/libs/rtklib/rtklib_rtkpos.h index a4e8f856b..19611d14a 100644 --- a/src/algorithms/libs/rtklib/rtklib_rtkpos.h +++ b/src/algorithms/libs/rtklib/rtklib_rtkpos.h @@ -89,21 +89,6 @@ const double TTOL_MOVEB = (1.0+2*DTTOL); #define IL_RTK(f,opt) (NP_RTK(opt)+NI_RTK(opt)+NT_RTK(opt)+(f)) /* receiver h/w bias */ #define IB_RTK(s,f,opt) (NR_RTK(opt)+MAXSAT*(f)+(s)-1) /* phase bias (s:satno,f:freq) */ - -static int resamb_WLNL(rtk_t *rtk __attribute((unused)), const obsd_t *obs __attribute((unused)), const int *sat __attribute((unused)), - const int *iu __attribute((unused)), const int *ir __attribute((unused)), int ns __attribute__((unused)), const nav_t *nav __attribute((unused)), - const double *azel __attribute((unused))) {return 0;} -static int resamb_TCAR(rtk_t *rtk __attribute((unused)), const obsd_t *obs __attribute((unused)), const int *sat __attribute((unused)), - const int *iu __attribute((unused)), const int *ir __attribute((unused)), int ns __attribute((unused)), const nav_t *nav __attribute((unused)), - const double *azel __attribute((unused))) {return 0;} - -/* global variables ----------------------------------------------------------*/ -static int statlevel = 0; /* rtk status output level (0:off) */ -static FILE *fp_stat = NULL; /* rtk status file pointer */ -static char file_stat[1024] = ""; /* rtk status file original path */ -static gtime_t time_stat = {0, 0}; /* rtk status file time */ - - int rtkopenstat(const char *file, int level); void rtkclosestat(void);