For congruency sake with the naming of other CURL_XXXXXX_CURL_OFF_T macros,

the names of the curl_off_t formatting string directives now become
CURL_FORMAT_CURL_OFF_T and CURL_FORMAT_CURL_OFF_TU.

CURL_FMT_OFF_T  -> CURL_FORMAT_CURL_OFF_T
CURL_FMT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU

Remove the use of an internal name for the curl_off_t formatting string directives
and use the common one available from the inside and outside of the library.

FORMAT_OFF_T  -> CURL_FORMAT_CURL_OFF_T
FORMAT_OFF_TU -> CURL_FORMAT_CURL_OFF_TU
This commit is contained in:
Yang Tse 2008-08-15 02:58:15 +00:00
parent 11cb78c5f8
commit 66fb9ca5f6
16 changed files with 170 additions and 160 deletions

View file

@ -121,25 +121,21 @@
#endif
/*
* Set up internal curl_off_t formatting string directive
* Ensure that no one is using the old internal FORMAT_OFF_T macro
*/
#ifdef FORMAT_OFF_T
# error "FORMAT_OFF_T shall not be defined before this point!"
Error Compilation_aborted_FORMAT_OFF_T_already_defined
#else
# define FORMAT_OFF_T CURL_FMT_OFF_T
# error "FORMAT_OFF_T shall not be defined!"
Error Compilation_aborted_FORMAT_OFF_T_shall_not_be_defined
#endif
/*
* Set up internal unsigned curl_off_t formatting string directive
* Ensure that no one is using the old internal FORMAT_OFF_TU macro
*/
#ifdef FORMAT_OFF_TU
# error "FORMAT_OFF_TU shall not be defined before this point!"
Error Compilation_aborted_FORMAT_OFF_TU_already_defined
#else
# define FORMAT_OFF_TU CURL_FMT_OFF_TU
# error "FORMAT_OFF_TU shall not be defined!"
Error Compilation_aborted_FORMAT_OFF_TU_shall_not_be_defined
#endif
/*