diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-02-17 17:38:57 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-02-17 17:38:57 -0500 |
commit | 094e98750627b86ae67bf0eee66502f61ddc3d1c (patch) | |
tree | 12adec5225ec862e7f330da1539e0d37e3aba105 | |
parent | 3004b0be9c9754116856b63e6c7cbdf5f45cb808 (diff) | |
download | curl-bagder/altsvc-rename.tar.gz |
squashme: fix formal parameter warning, etcbagder/altsvc-rename
..\..\..\..\lib\altsvc.c(613): warning C4028: formal parameter 6 different from declaration
#define Curl_altsvc_save(a,b,c)
#include "timeval.h" in rename
-rw-r--r-- | lib/altsvc.h | 4 | ||||
-rw-r--r-- | lib/rename.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/altsvc.h b/lib/altsvc.h index 49aa93c3b..248e71eef 100644 --- a/lib/altsvc.h +++ b/lib/altsvc.h @@ -71,9 +71,9 @@ bool Curl_altsvc_lookup(struct altsvcinfo *asi, enum alpnid srcalpnid, const char *srchost, int srcport, struct altsvc **dstentry, - int versions); /* one or more CURLALTSVC_H* bits */ + const int versions); /* CURLALTSVC_H* bits */ #else /* disabled */ -#define Curl_altsvc_save(a,b) +#define Curl_altsvc_save(a,b,c) #endif /* CURL_DISABLE_HTTP || USE_ALTSVC */ #endif /* HEADER_CURL_ALTSVC_H */ diff --git a/lib/rename.c b/lib/rename.c index e3039f09f..bb170d3cc 100644 --- a/lib/rename.c +++ b/lib/rename.c @@ -27,6 +27,8 @@ #if (!defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)) || \ defined(USE_ALTSVC) +#include "timeval.h" + /* The last 3 #include files should be in this order */ #include "curl_printf.h" #include "curl_memory.h" |