various: move const ptr indicator to return value

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2024-06-19 16:28:28 +02:00
parent cd2fb04960
commit bfd5a0687f
141 changed files with 272 additions and 272 deletions
+1 -1
View File
@@ -1091,7 +1091,7 @@ int fds_are_same_mount(int fd1, int fd2) {
return statx_mount_same(&st1.nsx, &st2.nsx);
}
const char *accmode_to_string(int flags) {
const char* accmode_to_string(int flags) {
switch (flags & O_ACCMODE) {
case O_RDONLY:
return "ro";