Warnings fixes.

This commit is contained in:
Alexandre Julliard 2001-05-16 19:45:34 +00:00
parent 3f1ed52d8b
commit 5079214384
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,7 @@
#include "config.h"
#include "winnt.h"
#include <fcntl.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>

View File

@ -389,8 +389,8 @@ int lstat(const char *file_name, struct stat *buf)
}
#endif /* HAVE_LSTAT */
static void
_convert_stat_stat64(struct stat64 *stto,struct stat *stfrom)
#if !defined(HAVE_STAT64) || !defined(HAVE_LSTAT64) || !defined(HAVE_FSTAT64)
static void _convert_stat_stat64(struct stat64 *stto,struct stat *stfrom)
{
stto->st_dev = stfrom->st_dev;
stto->st_ino = stfrom->st_ino;
@ -406,6 +406,7 @@ _convert_stat_stat64(struct stat64 *stto,struct stat *stfrom)
stto->st_ctime = stfrom->st_ctime;
stto->st_size = (off64_t)stfrom->st_size;
}
#endif /* HAVE_STAT64 || HAVE_LSTAT64 || HAVE_FSTAT64 */
/***********************************************************************
* stat64