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:
Alberto Escolar Piedras 2025-02-26 11:41:41 +01:00 committed by Carles Cufí
commit b6625b1b28
2 changed files with 2 additions and 7 deletions

View file

@ -4,11 +4,6 @@
* 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"
void native_add_command_line_opts(struct args_struct_t *args)

View file

@ -15,8 +15,8 @@ extern "C" {
#endif
/*
* To support native_posix drivers or tests which register their own arguments
* we provide a header with the same name as in native_posix
* API provided by native_sim for drivers or tests which want to register their own command line
* arguments
*/
void native_get_cmd_line_args(int *argc, char ***argv);
void native_get_test_cmd_line_args(int *argc, char ***argv);