Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: only include <curl/curl.h> #3645

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

examples: only include <curl/curl.h>

That's the only public curl header we should encourage use of.
  • Loading branch information...
bagder committed Mar 4, 2019
commit 9da03501410d841f7c420156084919e3b1b97928
@@ -30,7 +30,7 @@
#ifndef WIN32
# include <unistd.h>
#endif
#include <curl/multi.h>
#include <curl/curl.h>

static const char *urls[] = {
"https://www.microsoft.com",
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
* 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
@@ -72,7 +72,6 @@ callback.
#include <unistd.h>

#include <curl/curl.h>
#include <curl/multi.h>

#ifdef __GNUC__
#define _Unused __attribute__((unused))
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.