libc/misc: Add lib_ prefix to stream_semtake and tream_semgive

and merge lib_streamsem.c to lib_stream.c

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-11-01 12:00:39 +08:00
committed by Alin Jerpelea
parent 391ccdc42b
commit ad2f82898a
6 changed files with 30 additions and 73 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
# Add the internal C files to the build
CSRCS += lib_stream.c lib_umask.c lib_utsname.c
CSRCS += lib_umask.c lib_utsname.c
CSRCS += lib_xorshift128.c lib_tea_encrypt.c lib_tea_decrypt.c
ifneq ($(CONFIG_STDIO_DISABLE_BUFFERING),y)
@@ -35,7 +35,7 @@ CSRCS += lib_uadd32x64.c lib_uadd64.c lib_usub64x32.c lib_usub64.c
# Add C files that depend on file OR socket descriptors
ifeq ($(CONFIG_FILE_STREAM),y)
CSRCS += lib_streamsem.c
CSRCS += lib_stream.c
endif
ifeq ($(CONFIG_PIPES),y)