summaryrefslogtreecommitdiff
path: root/components/libc/libdl/dlsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/libdl/dlsym.c')
-rw-r--r--components/libc/libdl/dlsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/libdl/dlsym.c b/components/libc/libdl/dlsym.c
index ed0f183d83..f7c1c901fd 100644
--- a/components/libc/libdl/dlsym.c
+++ b/components/libc/libdl/dlsym.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -17,7 +17,7 @@ void* dlsym(void *handle, const char* symbol)
{
int i;
struct rt_dlmodule *module;
-
+
RT_ASSERT(handle != RT_NULL);
module = (struct rt_dlmodule *)handle;