nrf52_bsim: Add missing header guard and extern C block
Add a missing header guard and an extern "C" block in one of the nrf52_bsim headers Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
parent
fce0316687
commit
18ea3bfa80
1 changed files with 13 additions and 0 deletions
|
@ -17,10 +17,23 @@
|
||||||
* command line arguments is passed to the nrf52_bsim one
|
* command line arguments is passed to the nrf52_bsim one
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef BOARDS_POSIX_NRF52_BSIM_CMDLINE_H
|
||||||
|
#define BOARDS_POSIX_NRF52_BSIM_CMDLINE_H
|
||||||
|
|
||||||
#include "../native_posix/cmdline_common.h"
|
#include "../native_posix/cmdline_common.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline void native_add_command_line_opts(struct args_struct_t *args)
|
static inline void native_add_command_line_opts(struct args_struct_t *args)
|
||||||
{
|
{
|
||||||
void bs_add_extra_dynargs(struct args_struct_t *args);
|
void bs_add_extra_dynargs(struct args_struct_t *args);
|
||||||
bs_add_extra_dynargs(args);
|
bs_add_extra_dynargs(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* BOARDS_POSIX_NRF52_BSIM_CMDLINE_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue