]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: move curl_path.[ch] into vssh/
authorDaniel Stenberg <daniel@haxx.se>
Sun, 13 Oct 2024 15:56:23 +0000 (17:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Oct 2024 21:16:18 +0000 (23:16 +0200)
As this contains code only used by SSH backends.

Closes #15284

lib/Makefile.inc
lib/vssh/curl_path.c [moved from lib/curl_path.c with 100% similarity]
lib/vssh/curl_path.h [moved from lib/curl_path.h with 100% similarity]
tests/unit/unit2604.c

index 66680f3adba509346e449d896eedc9b748c892a0..1d3f69a23c3ce5029344b13fe0d98654449771f5 100644 (file)
@@ -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        \
similarity index 100%
rename from lib/curl_path.c
rename to lib/vssh/curl_path.c
similarity index 100%
rename from lib/curl_path.h
rename to lib/vssh/curl_path.h
index 0d6de60139dd5a42d5a1d98fc167ce10115556cf..90c6ec3bd629614d498feabb273523f4becb0aac 100644 (file)
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 #include "curlcheck.h"
-#include "curl_path.h"
+#include "vssh/curl_path.h"
 #include "memdebug.h"
 
 static CURLcode unit_setup(void)