diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-19 08:12:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-19 08:12:13 +0000 |
commit | 0bf1bd51c489e8316fe201bcbdaaab38c0d570c2 (patch) | |
tree | 77f1e73aa6fc4412f3ae31c018e1d57c0b14276d /lib/strtoofft.h | |
parent | 4cf70e3069656a86f9dae59a4aea14802f3bc030 (diff) | |
download | curl-0bf1bd51c489e8316fe201bcbdaaab38c0d570c2.tar.gz |
Remade to use curlx_-prefix. This means this function can be compiled and
linked separately by the application. This function is not provided by the
libcurl API. It can only be accessed by apps if they compile and use this
particular source code.
Diffstat (limited to 'lib/strtoofft.h')
-rw-r--r-- | lib/strtoofft.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/strtoofft.h b/lib/strtoofft.h index 4bb3b8fe6..0738bb474 100644 --- a/lib/strtoofft.h +++ b/lib/strtoofft.h @@ -1,3 +1,5 @@ +#ifndef _CURL_STRTOOFFT_H +#define _CURL_STRTOOFFT_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -21,8 +23,10 @@ * $Id$ ***************************************************************************/ -#ifndef _CURL_STRTOOFFT_R_H -#define _CURL_STRTOOFFT_R_H +/* + * CAUTION: this header is designed to work when included by the app-side + * as well as the library. Do not mix with library internals! + */ #include "setup.h" #include <stddef.h> @@ -38,7 +42,7 @@ #if HAVE_STRTOLL #define strtoofft strtoll #else -curl_off_t Curl_strtoll(const char *nptr, char **endptr, int base); +curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base); #define strtoofft Curl_strtoll #define NEED_CURL_STRTOLL #endif |