cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using strequal.c in curl

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Thu, 23 Oct 2008 01:56:30 +0200

"Daniel Stenberg" <daniel_at_haxx.se> wrote:

> What if we turned it the other way around and made sure that the other
> functions (curl_strequal and curl_strnequal) in strequal.c don't get the
> extern on them when the curl tool uses them? Like if we define some magic
> define before curl.h is included.

I'm not sure I follow (too tired). You mean curl_strequal() should not
have CURL_EXTERN on them? I.e. simply remove them from <curl.h>?
That could work.

--gv
Received on 2008-10-23