Commit b6625b1b authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Carles Cufi
Browse files

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: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent fcbef50e
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)
+2 −2
Original line number Diff line number Diff line
@@ -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);