diff --git a/src/ephemeris.c b/src/ephemeris.c index a1c57a6f3..dd963888f 100644 --- a/src/ephemeris.c +++ b/src/ephemeris.c @@ -407,7 +407,7 @@ extern void seph2pos(gtime_t time, const seph_t *seph, double *rs, double *dts, *var=var_uraeph(SYS_SBS,seph->sva); } /* select ephememeris --------------------------------------------------------*/ -static eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav) +eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav) { double t,tmax,tmin; int i,j=-1,sys,sel=0; diff --git a/src/rtklib.h b/src/rtklib.h index e2abc5242..3a96bd8d5 100644 --- a/src/rtklib.h +++ b/src/rtklib.h @@ -1629,7 +1629,7 @@ EXPORT int tle_name_read(const char *file, tle_t *tle); EXPORT int tle_pos(gtime_t time, const char *name, const char *satno, const char *desig, const tle_t *tle, const erp_t *erp, double *rs); - +EXPORT eph_t *seleph(gtime_t time, int sat, int iode, const nav_t *nav); /* receiver raw data functions -----------------------------------------------*/ EXPORT unsigned int getbitu(const unsigned char *buff, int pos, int len); EXPORT int getbits(const unsigned char *buff, int pos, int len);