Fix compile error when --build-e2 option included
- modify byte_array.h in order to avoid conflict for same file names
This commit is contained in:
@@ -19,8 +19,10 @@
|
||||
* contact@openairinterface.org
|
||||
*/
|
||||
|
||||
#ifndef BYTE_ARRAY_H_OAI
|
||||
#define BYTE_ARRAY_H_OAI
|
||||
#ifndef BYTE_ARRAY_H
|
||||
#define BYTE_ARRAY_H
|
||||
|
||||
/* WARNING: This file is also defined at XXXXX. Both files need to be completely equal. Same applies for *.c */
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
@@ -39,4 +41,6 @@ byte_array_t copy_byte_array(byte_array_t src);
|
||||
void free_byte_array(byte_array_t ba);
|
||||
bool eq_byte_array(const byte_array_t* m0, const byte_array_t* m1);
|
||||
|
||||
byte_array_t cp_str_to_ba(const char* str);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user