Commit 49cec160 authored by winckel's avatar winckel

Fixed build errors due to missing function prototypes or wrong parameters list in function call.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4683 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent bb52f714
......@@ -65,6 +65,7 @@ extern int otg_enabled;
#include "UTIL/OCG/OCG.h"
#include "UTIL/OCG/OCG_extern.h"
#include "UTIL/LOG/log.h"
#include "UTIL/OTG/otg_tx.h"
#include "UTIL/FIFO/pad_list.h"
#include "platform_constants.h"
......@@ -770,7 +771,7 @@ void pdcp_fifo_read_input_sdus_from_otg (u32_t frame, u8_t eNB_flag, u8 UE_index
(mac_get_rrc_status(eNB_index, eNB_flag, 1 ) > 2)) { */
for (dst_id = 0; dst_id<NUMBER_OF_UE_MAX; dst_id++) {
if (mac_get_rrc_status(eNB_index, eNB_flag, dst_id ) > 2) {
otg_pkt=packet_gen(src_id, dst_id, ctime, &pkt_size);
otg_pkt=packet_gen(src_id, dst_id, 0, ctime, &pkt_size);
if (otg_pkt != NULL){
rb_id = dst_id * NB_RB_MAX + DTCH;
pdcp_data_req(src_id, frame, eNB_flag, rb_id, RLC_MUI_UNDEFINED, RLC_SDU_CONFIRM_NO,pkt_size, otg_pkt, PDCP_DATA_PDU);
......
......@@ -17,7 +17,7 @@
#include "openair0_lib.h"
#include "openair_device.h"
exmimo_pci_interface_bot_virtual_t openair0_exmimo_pci[MAX_CARDS] = INIT_ZEROS; // contains userspace pointers for each card
exmimo_pci_interface_bot_virtual_t openair0_exmimo_pci[MAX_CARDS]; // contains userspace pointers for each card
char *bigshm_top[MAX_CARDS] = INIT_ZEROS;
......@@ -54,7 +54,7 @@ int openair0_open(void)
if ( openair0_num_detected_cards == 0 )
{
error("No cards detected!\n");
fprintf(stderr, "No cards detected!\n");
return -4;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment