mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
+1
-1
@@ -11,7 +11,7 @@ source libs/libc/machine/Kconfig
|
||||
source libs/libc/stdlib/Kconfig
|
||||
source libs/libc/unistd/Kconfig
|
||||
source libs/libc/string/Kconfig
|
||||
source libs/libc/dllfcn/Kconfig
|
||||
source libs/libc/dlfcn/Kconfig
|
||||
source libs/libc/modlib/Kconfig
|
||||
source libs/libc/wchar/Kconfig
|
||||
source libs/libc/locale/Kconfig
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ VPATH := .
|
||||
include aio/Make.defs
|
||||
include audio/Make.defs
|
||||
include dirent/Make.defs
|
||||
include dllfcn/Make.defs
|
||||
include dlfcn/Make.defs
|
||||
include endian/Make.defs
|
||||
include fixedmath/Make.defs
|
||||
include hex2bin/Make.defs
|
||||
|
||||
@@ -29,7 +29,7 @@ in the include/ directory provides the prototype for library functions. So
|
||||
we have:
|
||||
|
||||
audio - This part of the audio system: nuttx/audio/audio.h
|
||||
dllfcn - dllfcn.h
|
||||
dlfcn - dlfcn.h
|
||||
endian - endian.h
|
||||
hex2bin - hex2bin.h
|
||||
libgen - libgen.h
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# menu "Shared Library Support"
|
||||
|
||||
config LIBC_DLLFCN
|
||||
config LIBC_DLFCN
|
||||
bool "Shared library support"
|
||||
default n
|
||||
select LIBC_MODLIB if !BUILD_FLAT
|
||||
@@ -16,7 +16,7 @@ config LIBC_DLLFCN
|
||||
|
||||
A work in progress, hence, marked EXPERIMENTAL
|
||||
|
||||
if LIBC_DLLFCN
|
||||
if LIBC_DLFCN
|
||||
|
||||
config LDPATH_INITIAL
|
||||
string "Initial LD_LIBRARY_PATH Value"
|
||||
@@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# libs/libc/dllfcn/Make.defs
|
||||
# libs/libc/dlfcn/Make.defs
|
||||
#
|
||||
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
# 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
|
||||
|
||||
# Add the dllfcn.h directory to the build
|
||||
# Add the dlfcn.h directory to the build
|
||||
|
||||
DEPPATH += --dep-path dllfcn
|
||||
VPATH += :dllfcn
|
||||
DEPPATH += --dep-path dlfcn
|
||||
VPATH += :dlfcn
|
||||
|
||||
endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlclose.c
|
||||
* libs/libc/dlfcn/lib_dlclose.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/module.h>
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlerror.c
|
||||
* libs/libc/dlfcn/lib_dlerror.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <string.h>
|
||||
|
||||
/****************************************************************************
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlopen.c
|
||||
* libs/libc/dlfcn/lib_dlopen.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <libgen.h>
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_dlsym.c
|
||||
* libs/libc/dlfcn/lib_dlsym.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/module.h>
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libs/libc/dllfcn/lib_symtab.c
|
||||
* libs/libc/dlfcn/lib_symtab.c
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <dllfcn.h>
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/module.h>
|
||||
Reference in New Issue
Block a user