From eb77297ccc9a19d1830d7640e4281710841829da Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Oct 2024 17:56:23 +0200 Subject: [PATCH] lib: move curl_path.[ch] into vssh/ As this contains code only used by SSH backends. Closes #15284 --- lib/Makefile.inc | 6 +++--- lib/{ => vssh}/curl_path.c | 0 lib/{ => vssh}/curl_path.h | 0 tests/unit/unit2604.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename lib/{ => vssh}/curl_path.c (100%) rename lib/{ => vssh}/curl_path.h (100%) diff --git a/lib/Makefile.inc b/lib/Makefile.inc index 66680f3adb..1d3f69a23c 100644 --- a/lib/Makefile.inc +++ b/lib/Makefile.inc @@ -97,9 +97,11 @@ LIB_VQUIC_HFILES = \ LIB_VSSH_CFILES = \ vssh/libssh.c \ vssh/libssh2.c \ + vssh/curl_path.c \ vssh/wolfssh.c -LIB_VSSH_HFILES = \ +LIB_VSSH_HFILES = \ + vssh/curl_path.h \ vssh/ssh.h LIB_CFILES = \ @@ -131,7 +133,6 @@ LIB_CFILES = \ curl_memrchr.c \ curl_multibyte.c \ curl_ntlm_core.c \ - curl_path.c \ curl_range.c \ curl_rtmp.c \ curl_sasl.c \ @@ -273,7 +274,6 @@ LIB_HFILES = \ curl_memrchr.h \ curl_multibyte.h \ curl_ntlm_core.h \ - curl_path.h \ curl_printf.h \ curl_range.h \ curl_rtmp.h \ diff --git a/lib/curl_path.c b/lib/vssh/curl_path.c similarity index 100% rename from lib/curl_path.c rename to lib/vssh/curl_path.c diff --git a/lib/curl_path.h b/lib/vssh/curl_path.h similarity index 100% rename from lib/curl_path.h rename to lib/vssh/curl_path.h diff --git a/tests/unit/unit2604.c b/tests/unit/unit2604.c index 0d6de60139..90c6ec3bd6 100644 --- a/tests/unit/unit2604.c +++ b/tests/unit/unit2604.c @@ -22,7 +22,7 @@ * ***************************************************************************/ #include "curlcheck.h" -#include "curl_path.h" +#include "vssh/curl_path.h" #include "memdebug.h" static CURLcode unit_setup(void)