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:
Alberto Escolar Piedras 2019-08-12 11:54:57 +02:00 committed by Alberto Escolar
commit 18ea3bfa80

View file

@ -17,10 +17,23 @@
* 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"
#ifdef __cplusplus
extern "C" {
#endif
static inline void native_add_command_line_opts(struct args_struct_t *args)
{
void bs_add_extra_dynargs(struct args_struct_t *args);
bs_add_extra_dynargs(args);
}
#ifdef __cplusplus
}
#endif
#endif /* BOARDS_POSIX_NRF52_BSIM_CMDLINE_H */