summaryrefslogtreecommitdiff
path: root/lib/altsvc.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2020-02-17 17:38:57 -0500
committerJay Satiro <raysatiro@yahoo.com>2020-02-17 17:38:57 -0500
commit094e98750627b86ae67bf0eee66502f61ddc3d1c (patch)
tree12adec5225ec862e7f330da1539e0d37e3aba105 /lib/altsvc.h
parent3004b0be9c9754116856b63e6c7cbdf5f45cb808 (diff)
downloadcurl-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
Diffstat (limited to 'lib/altsvc.h')
-rw-r--r--lib/altsvc.h4
1 files changed, 2 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 */