diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2020-06-09 17:19:36 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2020-06-09 17:19:36 +0000 |
commit | 3c285a7b3a3335a24aadd56df6d7bb0beb0604e8 (patch) | |
tree | a81e98178da7063f13d671d5bb573d5414f60fa6 | |
parent | fc9073e7a8a2c55a80454e1060acfe2ad0148339 (diff) | |
parent | dbed5c58db9db3331b2139f77e2b8a90642f0758 (diff) | |
download | libglnx-3c285a7b3a3335a24aadd56df6d7bb0beb0604e8.tar.gz |
Merge branch 'wip/smcv/const-struct-stat' into 'master'
fdio: Be const-correct for struct stat
See merge request GNOME/libglnx!16
-rw-r--r-- | glnx-fdio.c | 2 | ||||
-rw-r--r-- | glnx-fdio.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/glnx-fdio.c b/glnx-fdio.c index 31bb15d..6ae6ec7 100644 --- a/glnx-fdio.c +++ b/glnx-fdio.c @@ -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, diff --git a/glnx-fdio.h b/glnx-fdio.h index 9c57dc5..f95e473 100644 --- a/glnx-fdio.h +++ b/glnx-fdio.h @@ -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, |