From d6cb1bdf6cdc020b3d8848c8761fb3b368cd7b4e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 Aug 2019 12:41:04 +0200 Subject: lib/quic.c: unused - removed --- lib/Makefile.inc | 2 +- lib/quic.c | 38 -------------------------------------- 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 lib/quic.c diff --git a/lib/Makefile.inc b/lib/Makefile.inc index 5e59f39b3..c726cacf5 100644 --- a/lib/Makefile.inc +++ b/lib/Makefile.inc @@ -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 index 746f00564..000000000 --- a/lib/quic.c +++ /dev/null @@ -1,38 +0,0 @@ -/*************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | - * / __| | | | |_) | | - * | (__| |_| | _ <| |___ - * \___|\___/|_| \_\_____| - * - * Copyright (C) 1998 - 2019, Daniel Stenberg, , 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 - -- cgit v1.2.1