From 43e79ac3298c8852a75a53a5ef15633faffdb622 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 9 Feb 2019 14:10:16 -0600 Subject: [PATCH] Update for corrected name of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now. --- examples/README.txt | 2 +- examples/sotest/Kconfig | 2 +- examples/sotest/lib/modprint/modprint.c | 2 +- examples/sotest/lib/sotest/sotest.c | 2 +- examples/sotest/sotest_main.c | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/README.txt b/examples/README.txt index a14f00f0c..4b0910d1b 100644 --- a/examples/README.txt +++ b/examples/README.txt @@ -1596,7 +1596,7 @@ examples/sotest This example builds a small shared library module test case. The test shared library is built using the relocatable ELF format and installed - in a ROMFS file system. At run time, the shared library is installed and exercised. Requires CONFIG_LIBC_DLLFCN. Other configuration options: + in a ROMFS file system. At run time, the shared library is installed and exercised. Requires CONFIG_LIBC_DLFCN. Other configuration options: CONFIG_EXAMPLES_SOTEST_DEVMINOR - The minor device number of the ROMFS block driver. For example, the N in /dev/ramN. Used for registering the RAM diff --git a/examples/sotest/Kconfig b/examples/sotest/Kconfig index 69c475d22..18b7b3a8c 100644 --- a/examples/sotest/Kconfig +++ b/examples/sotest/Kconfig @@ -6,7 +6,7 @@ config EXAMPLES_SOTEST tristate "Shared Library Example" default n - depends on LIBC_DLLFCN + depends on LIBC_DLFCN ---help--- Enable the shared library example diff --git a/examples/sotest/lib/modprint/modprint.c b/examples/sotest/lib/modprint/modprint.c index 0b375638d..7de58858f 100644 --- a/examples/sotest/lib/modprint/modprint.c +++ b/examples/sotest/lib/modprint/modprint.c @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include diff --git a/examples/sotest/lib/sotest/sotest.c b/examples/sotest/lib/sotest/sotest.c index 308bab13e..1017d4ea9 100644 --- a/examples/sotest/lib/sotest/sotest.c +++ b/examples/sotest/lib/sotest/sotest.c @@ -41,7 +41,7 @@ #include #include -#include +#include #include #include diff --git a/examples/sotest/sotest_main.c b/examples/sotest/sotest_main.c index de9aa7def..1e2688cb5 100644 --- a/examples/sotest/sotest_main.c +++ b/examples/sotest/sotest_main.c @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include @@ -65,8 +65,8 @@ * are required -- only the more obvious. */ -#ifndef CONFIG_LIBC_DLLFCN -# error "You must select CONFIG_LIBC_DLLFCN in your configuration file" +#ifndef CONFIG_LIBC_DLFCN +# error "You must select CONFIG_LIBC_DLFCN in your configuration file" #endif #ifdef CONFIG_EXAMPLES_SOTEST_BUILTINFS