Skip to content
Snippets Groups Projects
Commit 3c285a7b authored by Simon McVittie's avatar Simon McVittie
Browse files

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

fdio: Be const-correct for struct stat

See merge request GNOME/libglnx!16
parents fc9073e7 dbed5c58
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment