mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
build: move curl stat struct type to the curlx namespace
To match surrounding curlx symbols and functions.
Follow-up to a84b041281 #20496
Closes #20508
This commit is contained in:
parent
fdca2e0fd3
commit
443a539fcf
18 changed files with 30 additions and 30 deletions
|
|
@ -107,7 +107,7 @@ static const char aschex[] =
|
|||
* and CD/DVD images should be either a STREAM_LF format or a fixed format.
|
||||
*
|
||||
*/
|
||||
curl_off_t VmsRealFileSize(const char *name, const curl_struct_stat *stat_buf)
|
||||
curl_off_t VmsRealFileSize(const char *name, const curlx_struct_stat *stat_buf)
|
||||
{
|
||||
char buffer[8192];
|
||||
curl_off_t count;
|
||||
|
|
@ -137,7 +137,7 @@ curl_off_t VmsRealFileSize(const char *name, const curl_struct_stat *stat_buf)
|
|||
*
|
||||
*/
|
||||
static curl_off_t VmsSpecialSize(const char *name,
|
||||
const curl_struct_stat *stat_buf)
|
||||
const curlx_struct_stat *stat_buf)
|
||||
{
|
||||
switch(stat_buf->st_fab_rfm) {
|
||||
case FAB$C_VAR:
|
||||
|
|
@ -161,7 +161,7 @@ static curl_off_t VmsSpecialSize(const char *name,
|
|||
*/
|
||||
static FILE *vmsfopenread(const char *file, const char *mode)
|
||||
{
|
||||
curl_struct_stat statbuf;
|
||||
curlx_struct_stat statbuf;
|
||||
int result;
|
||||
|
||||
result = curlx_stat(file, &statbuf);
|
||||
|
|
@ -1308,7 +1308,7 @@ CURLcode curl_mime_filedata(curl_mimepart *part, const char *filename)
|
|||
|
||||
if(filename) {
|
||||
char *base;
|
||||
curl_struct_stat sbuf;
|
||||
curlx_struct_stat sbuf;
|
||||
|
||||
if(curlx_stat(filename, &sbuf))
|
||||
result = CURLE_READ_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue