You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2023/07/06 12:24:08 UTC
[nuttx] branch master updated (935f43185f -> 8f38fa6062)
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 935f43185f libc/modlib: Replace nx_stat with file_stat
new 62480d1a8b boardctl: Add const to struct boardioc_symtab_s::symtab
new 8f38fa6062 symtab: Remove the unnessary inclusion of nuttx/symtab.h
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
binfmt/libelf/libelf_bind.c | 1 -
binfmt/libelf/libelf_symbols.c | 2 +-
binfmt/libnxflat/libnxflat_bind.c | 2 +-
boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_symtab.c | 2 +-
boards/arm/stm32/olimex-stm32-p407/src/stm32_bringup.c | 3 +--
include/sys/boardctl.h | 2 +-
libs/libc/dlfcn/lib_dlsym.c | 1 -
libs/libc/modlib/modlib_symtab.c | 1 -
sched/module/mod_modsym.c | 1 -
9 files changed, 5 insertions(+), 10 deletions(-)
[nuttx] 02/02: symtab: Remove the unnessary inclusion of nuttx/symtab.h
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 8f38fa6062bcc28c857d46697a2ebc86bbadcd12
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Jul 3 00:43:49 2023 +0800
symtab: Remove the unnessary inclusion of nuttx/symtab.h
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
binfmt/libelf/libelf_bind.c | 1 -
binfmt/libelf/libelf_symbols.c | 2 +-
binfmt/libnxflat/libnxflat_bind.c | 2 +-
boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_symtab.c | 2 +-
boards/arm/stm32/olimex-stm32-p407/src/stm32_bringup.c | 3 +--
libs/libc/dlfcn/lib_dlsym.c | 1 -
libs/libc/modlib/modlib_symtab.c | 1 -
sched/module/mod_modsym.c | 1 -
8 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/binfmt/libelf/libelf_bind.c b/binfmt/libelf/libelf_bind.c
index 4b84b852a5..f09eb00b17 100644
--- a/binfmt/libelf/libelf_bind.c
+++ b/binfmt/libelf/libelf_bind.c
@@ -34,7 +34,6 @@
#include <nuttx/elf.h>
#include <nuttx/kmalloc.h>
#include <nuttx/binfmt/elf.h>
-#include <nuttx/binfmt/symtab.h>
#include "libelf.h"
diff --git a/binfmt/libelf/libelf_symbols.c b/binfmt/libelf/libelf_symbols.c
index 6247f00983..70b20b911f 100644
--- a/binfmt/libelf/libelf_symbols.c
+++ b/binfmt/libelf/libelf_symbols.c
@@ -31,7 +31,7 @@
#include <debug.h>
#include <nuttx/binfmt/elf.h>
-#include <nuttx/binfmt/symtab.h>
+#include <nuttx/symtab.h>
#include "libelf.h"
diff --git a/binfmt/libnxflat/libnxflat_bind.c b/binfmt/libnxflat/libnxflat_bind.c
index 8ef8393093..5b9f897043 100644
--- a/binfmt/libnxflat/libnxflat_bind.c
+++ b/binfmt/libnxflat/libnxflat_bind.c
@@ -36,7 +36,7 @@
#include <arpa/inet.h>
#include <nuttx/binfmt/nxflat.h>
-#include <nuttx/binfmt/symtab.h>
+#include <nuttx/symtab.h>
#include "libnxflat.h"
diff --git a/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_symtab.c b/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_symtab.c
index 57c323c805..b82116140e 100644
--- a/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_symtab.c
+++ b/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_symtab.c
@@ -23,7 +23,7 @@
****************************************************************************/
#include <nuttx/compiler.h>
-#include <nuttx/binfmt/symtab.h>
+#include <nuttx/symtab.h>
/****************************************************************************
* Public Data
diff --git a/boards/arm/stm32/olimex-stm32-p407/src/stm32_bringup.c b/boards/arm/stm32/olimex-stm32-p407/src/stm32_bringup.c
index ebac126c40..9d7f10b28e 100644
--- a/boards/arm/stm32/olimex-stm32-p407/src/stm32_bringup.c
+++ b/boards/arm/stm32/olimex-stm32-p407/src/stm32_bringup.c
@@ -39,8 +39,7 @@
#endif
#ifdef CONFIG_MODULE
-# include "nuttx/symtab.h"
-# include "nuttx/lib/modlib.h"
+# include <nuttx/lib/modlib.h>
#endif
#ifdef CONFIG_STM32_OTGFS
diff --git a/libs/libc/dlfcn/lib_dlsym.c b/libs/libc/dlfcn/lib_dlsym.c
index 3f82c20bdd..ce116b180e 100644
--- a/libs/libc/dlfcn/lib_dlsym.c
+++ b/libs/libc/dlfcn/lib_dlsym.c
@@ -30,7 +30,6 @@
#include <errno.h>
#include <nuttx/module.h>
-#include <nuttx/symtab.h>
#include <nuttx/lib/modlib.h>
/****************************************************************************
diff --git a/libs/libc/modlib/modlib_symtab.c b/libs/libc/modlib/modlib_symtab.c
index 203c4e5d9b..af3292334a 100644
--- a/libs/libc/modlib/modlib_symtab.c
+++ b/libs/libc/modlib/modlib_symtab.c
@@ -26,7 +26,6 @@
#include <assert.h>
-#include <nuttx/symtab.h>
#include <nuttx/lib/modlib.h>
/****************************************************************************
diff --git a/sched/module/mod_modsym.c b/sched/module/mod_modsym.c
index 40b2ca4446..b694d557a1 100644
--- a/sched/module/mod_modsym.c
+++ b/sched/module/mod_modsym.c
@@ -29,7 +29,6 @@
#include <debug.h>
#include <nuttx/module.h>
-#include <nuttx/symtab.h>
#include <nuttx/lib/modlib.h>
/****************************************************************************
[nuttx] 01/02: boardctl: Add const to struct boardioc_symtab_s::symtab
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 62480d1a8ba5660a8325d426f34c13c1b6afcc7f
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Jul 3 00:19:22 2023 +0800
boardctl: Add const to struct boardioc_symtab_s::symtab
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
include/sys/boardctl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h
index 6616975491..6fd41b209f 100644
--- a/include/sys/boardctl.h
+++ b/include/sys/boardctl.h
@@ -287,7 +287,7 @@ struct boardioc_romdisk_s
struct symtab_s; /* Forward reference */
struct boardioc_symtab_s
{
- FAR struct symtab_s *symtab;
+ FAR const struct symtab_s *symtab;
int nsymbols;
};