boards native_sim: Update cmdline.h header comment
Correct the reference in the comment to native posix. This header is here to stay providing the API for registering arguments. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
fcbef50e75
commit
b6625b1b28
2 changed files with 2 additions and 7 deletions
|
@ -4,11 +4,6 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* To support native_posix drivers or tests which register their own arguments
|
|
||||||
* we provide the same API as in native_posix
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "nsi_cmdline.h"
|
#include "nsi_cmdline.h"
|
||||||
|
|
||||||
void native_add_command_line_opts(struct args_struct_t *args)
|
void native_add_command_line_opts(struct args_struct_t *args)
|
||||||
|
|
|
@ -15,8 +15,8 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* To support native_posix drivers or tests which register their own arguments
|
* API provided by native_sim for drivers or tests which want to register their own command line
|
||||||
* we provide a header with the same name as in native_posix
|
* arguments
|
||||||
*/
|
*/
|
||||||
void native_get_cmd_line_args(int *argc, char ***argv);
|
void native_get_cmd_line_args(int *argc, char ***argv);
|
||||||
void native_get_test_cmd_line_args(int *argc, char ***argv);
|
void native_get_test_cmd_line_args(int *argc, char ***argv);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue