Changed uX, uX_t sX, sX_t to uinX_t

Cleaned some PDCP/driver code

types parameters and vars

Please see openair2/COMMON/platform_types.h for simple coding rules.

please declare prototypes of functions in .h and include .h files in where the function is used and where it is implemented.



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5096 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2014-02-28 13:03:10 +00:00
parent 3ea520f70a
commit c60dc45b2b
405 changed files with 9403 additions and 9303 deletions
+4 -4
View File
@@ -228,8 +228,8 @@ int main(int argc, char* argv[]) {
double path_loss_dB = -90, rx_gain_dB = 125;
double tx_pwr, rx_pwr;
u32 **input = malloc(nb_antennas*sizeof(u32*));
u32 **output = malloc(nb_antennas*sizeof(u32*));
uint32_t **input = malloc(nb_antennas*sizeof(uint32_t*));
uint32_t **output = malloc(nb_antennas*sizeof(uint32_t*));
double **s_re = malloc(nb_antennas*sizeof (double *));
double **s_im = malloc(nb_antennas*sizeof (double *));
@@ -255,8 +255,8 @@ int main(int argc, char* argv[]) {
s_im[i] = (double *)malloc(length * sizeof (double ));
r_re[i] = (double *)malloc(length * sizeof (double ));
r_im[i] = (double *)malloc(length * sizeof (double ));
input[i] = (u32*)malloc(length * sizeof(u32));
output[i] = (u32*)malloc(length * sizeof(u32));
input[i] = (uint32_t*)malloc(length * sizeof(uint32_t));
output[i] = (uint32_t*)malloc(length * sizeof(uint32_t));
}
for (i=0;i<nb_antennas;i++) {