Merge branch 'wip/smcv/const-struct-stat' into 'master'

fdio: Be const-correct for struct stat

See merge request GNOME/libglnx!16
This commit is contained in:
Simon McVittie
2020-06-09 17:19:36 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -939,7 +939,7 @@ glnx_regfile_copy_bytes (int fdf, int fdt, off_t max_bytes)
gboolean
glnx_file_copy_at (int src_dfd,
const char *src_subpath,
struct stat *src_stbuf,
const struct stat *src_stbuf,
int dest_dfd,
const char *dest_subpath,
GLnxFileCopyFlags copyflags,

View File

@@ -193,7 +193,7 @@ typedef enum {
gboolean
glnx_file_copy_at (int src_dfd,
const char *src_subpath,
struct stat *src_stbuf,
const struct stat *src_stbuf,
int dest_dfd,
const char *dest_subpath,
GLnxFileCopyFlags copyflags,