Loading lib/strtoofft.c +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ static int get_char(char c, int base); * value from the given input string and returns it. */ curl_off_t Curl_strtoll(const char *nptr, char **endptr, int base) curlx_strtoll(const char *nptr, char **endptr, int base) { char *end; int is_negative = 0; Loading lib/strtoofft.h +7 −3 Original line number Diff line number Diff line #ifndef _CURL_STRTOOFFT_H #define _CURL_STRTOOFFT_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | Loading @@ -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> Loading @@ -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 Loading Loading
lib/strtoofft.c +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ static int get_char(char c, int base); * value from the given input string and returns it. */ curl_off_t Curl_strtoll(const char *nptr, char **endptr, int base) curlx_strtoll(const char *nptr, char **endptr, int base) { char *end; int is_negative = 0; Loading
lib/strtoofft.h +7 −3 Original line number Diff line number Diff line #ifndef _CURL_STRTOOFFT_H #define _CURL_STRTOOFFT_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | Loading @@ -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> Loading @@ -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 Loading