From 90518cca0b6ad30e63fd0cc31633fd48d18269a8 Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Fri, 30 Aug 2024 19:58:09 +0200 Subject: [PATCH] fixup! mock my_execvp Signed-off-by: Yury V. Zaytsev --- lib/vfs/vfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/vfs/vfs.c b/lib/vfs/vfs.c index 72b1769e9c..93a9286c1a 100644 --- a/lib/vfs/vfs.c +++ b/lib/vfs/vfs.c @@ -77,10 +77,10 @@ extern vfs_class *current_vfs; /*** global variables ****************************************************************************/ -struct vfs_dirent *mc_readdir_result = NULL; -GPtrArray *vfs__classes_list = NULL; -GString *vfs_str_buffer = NULL; -vfs_class *current_vfs = NULL; +struct vfs_dirent __attribute__((weak)) * mc_readdir_result = NULL; +GPtrArray __attribute__((weak)) * vfs__classes_list = NULL; +GString __attribute__((weak)) * vfs_str_buffer = NULL; +vfs_class __attribute__((weak)) * current_vfs = NULL; /*** file scope macro definitions ****************************************************************/