Privatize sardata structs
These duplicated names spanning translation units violate ODR. They are only used within their corresponding .c files and thus can be given static linkage.LT1AB
parent
2e44cabf67
commit
e751732c0f
|
@ -60,9 +60,9 @@ int reset_params(struct PRM *prm, long *, int *, int *);
|
|||
int fill_shift_data(int, int, int, int, int, char *, char *, FILE *);
|
||||
int handle_prf_change_ALOSE(struct PRM *, FILE *, long *, int);
|
||||
|
||||
struct sardata_record r1;
|
||||
struct sardata_descriptor_ALOSE dfd;
|
||||
struct sardata_info_ALOSE sdr;
|
||||
static struct sardata_record r1;
|
||||
static struct sardata_descriptor_ALOSE dfd;
|
||||
static struct sardata_info_ALOSE sdr;
|
||||
|
||||
/*
|
||||
differences in include file from ALOS AUIG
|
||||
|
|
|
@ -67,9 +67,9 @@ int reset_params(struct PRM *prm, long *, int *, int *);
|
|||
int fill_shift_data(int, int, int, int, int, char *, char *, FILE *);
|
||||
int handle_prf_change(struct PRM *, FILE *, long *, int);
|
||||
|
||||
struct sardata_record r1;
|
||||
struct sardata_descriptor dfd;
|
||||
struct sardata_info sdr;
|
||||
static struct sardata_record r1;
|
||||
static struct sardata_descriptor dfd;
|
||||
static struct sardata_info sdr;
|
||||
|
||||
long read_ALOS_data (FILE *imagefile, FILE *outfile, struct PRM *prm, long *byte_offset) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue