Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove EXPORT from .c files. #495

Open
wants to merge 1 commit into
base: rtklib_2.4.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static char snrmask_[NFREQ][1024];
#define TIDEOPT "0:off,1:on,2:otl"
#define PHWOPT "0:off,1:on,2:precise"

EXPORT opt_t sysopts[]={
opt_t sysopts[]={
{"pos1-posmode", 3, (void *)&prcopt_.mode, MODOPT },
{"pos1-frequency", 3, (void *)&prcopt_.nf, FRQOPT },
{"pos1-soltype", 3, (void *)&prcopt_.soltype, TYPOPT },
Expand Down
6 changes: 3 additions & 3 deletions src/rcv/cmr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ static unsigned int ubitn(const unsigned char *Address, int BitPosition, int Bit
*/

/* free_cmr - Free up CMR dependent private storage */
EXPORT void free_cmr(raw_t *Raw)
void free_cmr(raw_t *Raw)
{
cmr_t *Cmr = NULL;

Expand Down Expand Up @@ -1409,7 +1409,7 @@ EXPORT void free_cmr(raw_t *Raw)
}

/* init_cmr = Initialize CMR dependent private storage */
EXPORT int init_cmr(raw_t *Raw)
int init_cmr(raw_t *Raw)
{
cmr_t *Cmr = NULL;
obsr_t *RoverObservables = NULL;
Expand Down Expand Up @@ -1473,7 +1473,7 @@ EXPORT int init_cmr(raw_t *Raw)
|
| Supported CMR messages: 0, 1, 2, 3, 4; CMR+ messages 1, 2, 3.
*/
EXPORT int input_cmr(raw_t *Raw, unsigned char Data)
int input_cmr(raw_t *Raw, unsigned char Data)
{
cmr_t *Cmr = (cmr_t*) Raw->rcv_data;
unsigned char *MessageBuffer = Cmr->MessageBuffer;
Expand Down
8 changes: 4 additions & 4 deletions src/rcv/rt17.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ static void UnwrapGenout(rt17_t *rt17);
/* Public functions (in alphabetical order): */

/* free_rt17 - Free up RT17 dependent private storage */
EXPORT void free_rt17(raw_t *Raw)
void free_rt17(raw_t *Raw)
{
rt17_t *rt17 = NULL;

Expand Down Expand Up @@ -466,7 +466,7 @@ EXPORT void free_rt17(raw_t *Raw)
}

/* init_rt17 = Initialize RT17 dependent private storage */
EXPORT int init_rt17(raw_t *Raw)
int init_rt17(raw_t *Raw)
{
rt17_t *rt17 = NULL;
unsigned char *MessageBuffer = NULL, *PacketBuffer = NULL;
Expand Down Expand Up @@ -515,7 +515,7 @@ EXPORT int init_rt17(raw_t *Raw)
| and the packet ends with a 2-byte trailer. Byte 3 is set to 0 (00h) when the packet
| contains no data.
*/
EXPORT int input_rt17(raw_t *Raw, unsigned char Data)
int input_rt17(raw_t *Raw, unsigned char Data)
{
rt17_t *rt17 = (rt17_t*) Raw->rcv_data;
unsigned char *MessageBuffer = rt17->MessageBuffer;
Expand Down Expand Up @@ -723,7 +723,7 @@ EXPORT int input_rt17(raw_t *Raw, unsigned char Data)
| 2: input ephemeris
| 9: input ion/utc parameter
*/
EXPORT int input_rt17f(raw_t *Raw, FILE *fp)
int input_rt17f(raw_t *Raw, FILE *fp)
{
int i, Data, Ret;

Expand Down