]> granicus.if.org Git - curl/commitdiff
lib/quic.c: unused - removed
authorDaniel Stenberg <daniel@haxx.se>
Tue, 13 Aug 2019 10:41:04 +0000 (12:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Aug 2019 10:41:04 +0000 (12:41 +0200)
lib/Makefile.inc
lib/quic.c [deleted file]

index 5e59f39b3af81531182ff278636aeabd55294c7c..c726cacf5eede845f5fd742184914f7d059ef004 100644 (file)
@@ -59,7 +59,7 @@ LIB_CFILES = file.c timeval.c base64.c hostip.c progress.c formdata.c   \
   curl_multibyte.c hostcheck.c conncache.c dotdot.c                     \
   x509asn1.c http2.c smb.c curl_endian.c curl_des.c system_win32.c      \
   mime.c sha256.c setopt.c curl_path.c curl_ctype.c curl_range.c psl.c  \
-  doh.c urlapi.c curl_get_line.c altsvc.c quic.c
+  doh.c urlapi.c curl_get_line.c altsvc.c
 
 LIB_HFILES = arpa_telnet.h netrc.h file.h timeval.h hostip.h progress.h \
   formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h if2ip.h         \
diff --git a/lib/quic.c b/lib/quic.c
deleted file mode 100644 (file)
index 746f005..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/***************************************************************************
- *                                  _   _ ____  _
- *  Project                     ___| | | |  _ \| |
- *                             / __| | | | |_) | |
- *                            | (__| |_| |  _ <| |___
- *                             \___|\___/|_| \_\_____|
- *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
- *
- * This software is licensed as described in the file COPYING, which
- * you should have received as part of this distribution. The terms
- * are also available at https://curl.haxx.se/docs/copyright.html.
- *
- * You may opt to use, copy, modify, merge, publish, distribute and/or sell
- * copies of the Software, and permit persons to whom the Software is
- * furnished to do so, under the terms of the COPYING file.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- ***************************************************************************/
-
-#include "curl_setup.h"
-
-#ifdef ENABLE_QUIC
-#include "quic.h"
-/* backend-independent QUIC functionality */
-const char *Curl_quic_backend(void)
-{
-#ifdef USE_NGTCP2
-  return "ngtcp2";
-#endif
-#ifdef USE_QUICHE
-  return "quiche";
-#endif
-}
-#endif
-