fix nxstyle

fix Relative file path does not match actual file.
This commit is contained in:
simbit18 2024-05-13 18:28:01 +02:00 committed by Xiang Xiao
parent 385e2f0904
commit d0e030ff00
5 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/****************************************************************************
* apps/examples/nxflat/tests/task/parent.c
* apps/examples/nxflat/tests/task/task.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@ -47,9 +47,10 @@ static char no_name[] = "<noname>";
* Privite Functions
****************************************************************************/
/* NOTE: it is necessary for functions that are referred to by function pointers
* pointer to be declared with global scope (at least for ARM). Otherwise,
* a relocation type that is not supported by NXFLAT is generated by GCC.
/* NOTE: it is necessary for functions that are referred to by function
* pointers pointer to be declared with global scope (at least for ARM).
* Otherwise, a relocation type that is not supported by
* NXFLAT is generated by GCC.
*/
int child_task(int argc, char **argv)
@ -113,7 +114,8 @@ int main(int argc, char **argv)
child_argv[0] = child_arg;
child_argv[1] = 0;
child_pid = task_create(child_name, 50, 512, child_task, (FAR char * const *)child_argv);
child_pid = task_create(child_name, 50, 512,
child_task, (FAR char * const *)child_argv);
if (child_pid < 0)
{
printf("Parent: task_create failed: %d\n", errno);

View File

@ -1,5 +1,5 @@
#################################################################################
# apps/graphics/nxwidgets/UniTests/CButton/Makefile
# apps/graphics/nxwidgets/UnitTests/CButton/Makefile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with

View File

@ -1,5 +1,5 @@
############################################################################
# apps/graphics/pdcurs34/Make.defs
# apps/graphics/pdcurs34/pdcurses/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with

View File

@ -1,4 +1,3 @@
############################################################################
# apps/tools/WASI-SDK.defs
#

View File

@ -1,5 +1,5 @@
# ##############################################################################
# apps/wireless/wapi/CMakeLists.txt
# apps/wireless/CMakeLists.txt
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for