From dd7d7107c72ab977a55f6572b0a6843954ad50b9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 4 Mar 2019 16:27:22 +0100 Subject: examples: only include That's the only public curl header we should encourage use of. Reviewed-by: Marcel Raad Closes #3645 --- docs/examples/10-at-a-time.c | 2 +- docs/examples/ephiperfifo.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c index ee1c64a5d..b50eaa68e 100644 --- a/docs/examples/10-at-a-time.c +++ b/docs/examples/10-at-a-time.c @@ -30,7 +30,7 @@ #ifndef WIN32 # include #endif -#include +#include static const char *urls[] = { "https://www.microsoft.com", diff --git a/docs/examples/ephiperfifo.c b/docs/examples/ephiperfifo.c index 8af65367c..35991de77 100644 --- a/docs/examples/ephiperfifo.c +++ b/docs/examples/ephiperfifo.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, , et al. + * 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 @@ -72,7 +72,6 @@ callback. #include #include -#include #ifdef __GNUC__ #define _Unused __attribute__((unused)) -- cgit v1.2.3