fs: Implment link as a normal function instead macro

so "using ::link;" can pass the compiling. This change also
simplify the implementation of the hard link in the future.
This commit is contained in:
Stuart Ianna
2023-01-23 09:14:48 +11:00
committed by Alan Carvalho de Assis
parent 1e3af48fff
commit a2a542562f
6 changed files with 69 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ CSRCS += fs_fsync.c fs_truncate.c
endif
ifneq ($(CONFIG_PSEUDOFS_SOFTLINKS),0)
CSRCS += fs_symlink.c fs_readlink.c
CSRCS += fs_link.c fs_symlink.c fs_readlink.c
endif
# Stream support