diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-13 12:41:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-13 12:41:04 +0200 |
commit | d6cb1bdf6cdc020b3d8848c8761fb3b368cd7b4e (patch) | |
tree | caf67dfe82a859816a3653151ef023e776c4ad44 | |
parent | b867ecf0c55af8c0e6fdc33eb8daba635b729b89 (diff) |
lib/quic.c: unused - removed
-rw-r--r-- | lib/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/quic.c | 38 |
2 files changed, 1 insertions, 39 deletions
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, <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 - |