include/: Correct naming of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now.

This commit is contained in:
Gregory Nutt 2019-02-09 14:09:28 -06:00
parent 6a30e22ad4
commit 3ba777bb27
16 changed files with 32 additions and 32 deletions

View File

@ -1358,7 +1358,7 @@ libc/
|-- dirent/ |-- dirent/
| `-- <i>(Implementation of functions from dirent.h)</i> | `-- <i>(Implementation of functions from dirent.h)</i>
|-- dllfch/ |-- dllfch/
| `-- <i>(Implementation of functions from dllfcn.h)</i> | `-- <i>(Implementation of functions from dlfcn.h)</i>
|-- fixedmath/ |-- fixedmath/
| `-- <i>(Implementation of functions from fixedmath.h)</i> | `-- <i>(Implementation of functions from fixedmath.h)</i>
|-- hex2bin/ |-- hex2bin/

View File

@ -482,7 +482,7 @@ must be is one of the following.
FLAT build using apps/examples/sotest (assuming that you also have SD FLAT build using apps/examples/sotest (assuming that you also have SD
card support enabled and that the SD card is mount at /mnt/sdcard): card support enabled and that the SD card is mount at /mnt/sdcard):
CONFIG_LIBC_DLLFCN=y CONFIG_LIBC_DLFCN=y
CONFIG_EXAMPLES_SOTEST=y CONFIG_EXAMPLES_SOTEST=y
CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard" CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard"
@ -538,7 +538,7 @@ must be is one of the following.
Add the following for testing shared libraries in the FLAT Add the following for testing shared libraries in the FLAT
build: build:
CONFIG_LIBC_DLLFCN=y CONFIG_LIBC_DLFCN=y
CONFIG_EXAMPLES_SOTEST=y CONFIG_EXAMPLES_SOTEST=y
CONFIG_EXAMPLES_SOTEST_BUILTINFS=y CONFIG_EXAMPLES_SOTEST_BUILTINFS=y
CONFIG_EXAMPLES_SOTEST_DEVMINOR=1 CONFIG_EXAMPLES_SOTEST_DEVMINOR=1

View File

@ -1838,7 +1838,7 @@ Configuration sub-directories
Add the following for testing shared libraries in the FLAT Add the following for testing shared libraries in the FLAT
build: build:
CONFIG_LIBC_DLLFCN=y CONFIG_LIBC_DLFCN=y
CONFIG_EXAMPLES_SOTEST=y CONFIG_EXAMPLES_SOTEST=y
CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard" CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard"

View File

@ -1660,7 +1660,7 @@ Configuration Sub-directories
FLAT build using apps/examples/sotest (assuming that you also have SD FLAT build using apps/examples/sotest (assuming that you also have SD
card support enabled and that the SD card is mount at /mnt/sdcard): card support enabled and that the SD card is mount at /mnt/sdcard):
CONFIG_LIBC_DLLFCN=y CONFIG_LIBC_DLFCN=y
CONFIG_EXAMPLES_SOTEST=y CONFIG_EXAMPLES_SOTEST=y
CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard" CONFIG_EXAMPLES_SOTEST_BINDIR="/mnt/sdcard"

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* include/dllfcn.h * include/dlfcn.h
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017, 2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INCLUDE_DLLFCN_H #ifndef __INCLUDE_DLFCN_H
#define __INCLUDE_DLLFCN_H #define __INCLUDE_DLFCN_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -329,4 +329,4 @@ FAR char *dlerror(void);
} }
#endif #endif
#endif /* __INCLUDE_DLLFCN_H */ #endif /* __INCLUDE_DLFCN_H */

View File

@ -11,7 +11,7 @@ source libs/libc/machine/Kconfig
source libs/libc/stdlib/Kconfig source libs/libc/stdlib/Kconfig
source libs/libc/unistd/Kconfig source libs/libc/unistd/Kconfig
source libs/libc/string/Kconfig source libs/libc/string/Kconfig
source libs/libc/dllfcn/Kconfig source libs/libc/dlfcn/Kconfig
source libs/libc/modlib/Kconfig source libs/libc/modlib/Kconfig
source libs/libc/wchar/Kconfig source libs/libc/wchar/Kconfig
source libs/libc/locale/Kconfig source libs/libc/locale/Kconfig

View File

@ -56,7 +56,7 @@ VPATH := .
include aio/Make.defs include aio/Make.defs
include audio/Make.defs include audio/Make.defs
include dirent/Make.defs include dirent/Make.defs
include dllfcn/Make.defs include dlfcn/Make.defs
include endian/Make.defs include endian/Make.defs
include fixedmath/Make.defs include fixedmath/Make.defs
include hex2bin/Make.defs include hex2bin/Make.defs

View File

@ -29,7 +29,7 @@ in the include/ directory provides the prototype for library functions. So
we have: we have:
audio - This part of the audio system: nuttx/audio/audio.h audio - This part of the audio system: nuttx/audio/audio.h
dllfcn - dllfcn.h dlfcn - dlfcn.h
endian - endian.h endian - endian.h
hex2bin - hex2bin.h hex2bin - hex2bin.h
libgen - libgen.h libgen - libgen.h

View File

@ -5,7 +5,7 @@
# menu "Shared Library Support" # menu "Shared Library Support"
config LIBC_DLLFCN config LIBC_DLFCN
bool "Shared library support" bool "Shared library support"
default n default n
select LIBC_MODLIB if !BUILD_FLAT select LIBC_MODLIB if !BUILD_FLAT
@ -16,7 +16,7 @@ config LIBC_DLLFCN
A work in progress, hence, marked EXPERIMENTAL A work in progress, hence, marked EXPERIMENTAL
if LIBC_DLLFCN if LIBC_DLFCN
config LDPATH_INITIAL config LDPATH_INITIAL
string "Initial LD_LIBRARY_PATH Value" string "Initial LD_LIBRARY_PATH Value"

View File

@ -1,5 +1,5 @@
############################################################################ ############################################################################
# libs/libc/dllfcn/Make.defs # libs/libc/dlfcn/Make.defs
# #
# Copyright (C) 2017 Gregory Nutt. All rights reserved. # Copyright (C) 2017 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
# #
############################################################################ ############################################################################
ifeq ($(CONFIG_LIBC_DLLFCN),y) ifeq ($(CONFIG_LIBC_DLFCN),y)
# Add the dllfcn.h files to the build # Add the dlfcn.h files to the build
CSRCS += lib_dlopen.c lib_dlclose.c lib_dlsym.c lib_dlerror.c lib_dlsymtab.c CSRCS += lib_dlopen.c lib_dlclose.c lib_dlsym.c lib_dlerror.c lib_dlsymtab.c
# Add the dllfcn.h directory to the build # Add the dlfcn.h directory to the build
DEPPATH += --dep-path dllfcn DEPPATH += --dep-path dlfcn
VPATH += :dllfcn VPATH += :dlfcn
endif endif

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/dllfcn/lib_dlclose.c * libs/libc/dlfcn/lib_dlclose.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -39,7 +39,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <dllfcn.h> #include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include <nuttx/module.h> #include <nuttx/module.h>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/dllfcn/lib_dlerror.c * libs/libc/dlfcn/lib_dlerror.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -40,7 +40,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <errno.h> #include <errno.h>
#include <dllfcn.h> #include <dlfcn.h>
#include <string.h> #include <string.h>
/**************************************************************************** /****************************************************************************

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/dllfcn/lib_dlopen.c * libs/libc/dlfcn/lib_dlopen.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -42,7 +42,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <libgen.h> #include <libgen.h>
#include <dllfcn.h> #include <dlfcn.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/dllfcn/lib_dlsym.c * libs/libc/dlfcn/lib_dlsym.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -39,7 +39,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <dllfcn.h> #include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include <nuttx/module.h> #include <nuttx/module.h>

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* libs/libc/dllfcn/lib_symtab.c * libs/libc/dlfcn/lib_symtab.c
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -39,7 +39,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <dllfcn.h> #include <dlfcn.h>
#include <errno.h> #include <errno.h>
#include <nuttx/module.h> #include <nuttx/module.h>

View File

@ -66,7 +66,7 @@ static const char *dequote_list[] =
"CONFIG_USER_ENTRYPOINT", /* Name of entry point function */ "CONFIG_USER_ENTRYPOINT", /* Name of entry point function */
"CONFIG_EXECFUNCS_SYMTAB_ARRAY", /* Symbol table array used by exec[l|v] */ "CONFIG_EXECFUNCS_SYMTAB_ARRAY", /* Symbol table array used by exec[l|v] */
"CONFIG_EXECFUNCS_NSYMBOLS_VAR", /* Variable holding number of symbols in the table */ "CONFIG_EXECFUNCS_NSYMBOLS_VAR", /* Variable holding number of symbols in the table */
"CONFIG_MODLIB_SYMTAB_ARRAY", /* Symbol table array used by dllfcn[l|v] */ "CONFIG_MODLIB_SYMTAB_ARRAY", /* Symbol table array used by modlib functions */
"CONFIG_MODLIB_NSYMBOLS_VAR", /* Variable holding number of symbols in the table */ "CONFIG_MODLIB_NSYMBOLS_VAR", /* Variable holding number of symbols in the table */
"CONFIG_PASS1_BUILDIR", /* Pass1 build directory */ "CONFIG_PASS1_BUILDIR", /* Pass1 build directory */
"CONFIG_PASS1_TARGET", /* Pass1 build target */ "CONFIG_PASS1_TARGET", /* Pass1 build target */