BUILD: fix compilation warning and circular dependency protection on header files
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
* contact@openairinterface.org
|
||||
*/
|
||||
|
||||
#ifndef _BENETEL_LOW_H_
|
||||
#define _BENETEL_LOW_H_
|
||||
#ifndef _BENETEL_4G_LOW_H_
|
||||
#define _BENETEL_4G_LOW_H_
|
||||
|
||||
#include "shared_buffers.h"
|
||||
|
||||
@@ -46,4 +46,4 @@ void *benetel_start(char *ifname, shared_buffers *buffers, char *dpdk_main_comma
|
||||
void store_ul(benetel_t *bs, ul_packet_t *ul);
|
||||
void store_prach(benetel_t *bs, int frame, int subframe, void *data);
|
||||
|
||||
#endif /* _BENETEL_LOW_H_ */
|
||||
#endif /* _BENETEL_4G_LOW_H_ */
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* contact@openairinterface.org
|
||||
*/
|
||||
|
||||
#ifndef _SHARED_BUFFERS_H_
|
||||
#define _SHARED_BUFFERS_H_
|
||||
#ifndef _BENETEL_4G_SHARED_BUFFERS_H_
|
||||
#define _BENETEL_4G_SHARED_BUFFERS_H_
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdint.h>
|
||||
@@ -57,4 +57,4 @@ void unlock_ul_buffer(shared_buffers *s, int subframe);
|
||||
void wait_ul_buffer(shared_buffers *s, int subframe);
|
||||
void signal_ul_buffer(shared_buffers *s, int subframe);
|
||||
|
||||
#endif /* _SHARED_BUFFERS_H_ */
|
||||
#endif /* _BENETEL_4G_SHARED_BUFFERS_H_ */
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* contact@openairinterface.org
|
||||
*/
|
||||
|
||||
#ifndef _BENETEL_LOW_H_
|
||||
#define _BENETEL_LOW_H_
|
||||
#ifndef _BENETEL_5G_LOW_H_
|
||||
#define _BENETEL_5G_LOW_H_
|
||||
|
||||
#include "shared_buffers.h"
|
||||
|
||||
@@ -45,4 +45,4 @@ void *benetel_start(char *ifname, shared_buffers *buffers, char *dpdk_main_comma
|
||||
void store_ul(benetel_t *bs, ul_packet_t *ul);
|
||||
void store_prach(benetel_t *bs, int frame, int slot, void *data);
|
||||
|
||||
#endif /* _BENETEL_LOW_H_ */
|
||||
#endif /* _BENETEL_5G_LOW_H_ */
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
* contact@openairinterface.org
|
||||
*/
|
||||
|
||||
#ifndef _SHARED_BUFFERS_H_
|
||||
#define _SHARED_BUFFERS_H_
|
||||
#ifndef _BENETEL_5G_SHARED_BUFFERS_H_
|
||||
#define _BENETEL_5G_SHARED_BUFFERS_H_
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdint.h>
|
||||
@@ -57,4 +57,4 @@ void unlock_ul_buffer(shared_buffers *s, int slot);
|
||||
void wait_ul_buffer(shared_buffers *s, int slot);
|
||||
void signal_ul_buffer(shared_buffers *s, int slot);
|
||||
|
||||
#endif /* _SHARED_BUFFERS_H_ */
|
||||
#endif /* _BENETEL_5G_SHARED_BUFFERS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user