aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-22 09:50:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-22 09:51:14 +0200
commit412b05fec9323a093fe271ae01b4083ea2d1fc1f (patch)
tree9ad4f8b7dcf189fc8d2d67924be0765b6015fb98 /sysdeps
parent3c79234c7a9cf57aa79e84745493dfad1a7c72fc (diff)
downloadglibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.tar
glibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.tar.gz
glibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.tar.bz2
glibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.zip
Add hidden prototypes for fsync, fdatasync
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/fdatasync.c1
-rw-r--r--sysdeps/mach/hurd/fsync.c1
-rw-r--r--sysdeps/unix/sysv/linux/fdatasync.c1
-rw-r--r--sysdeps/unix/sysv/linux/fsync.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/fdatasync.c b/sysdeps/mach/hurd/fdatasync.c
index 0be8072e7f..68df551016 100644
--- a/sysdeps/mach/hurd/fdatasync.c
+++ b/sysdeps/mach/hurd/fdatasync.c
@@ -41,3 +41,4 @@ fdatasync (int fd)
}
return 0;
}
+libc_hidden_def (fdatasync)
diff --git a/sysdeps/mach/hurd/fsync.c b/sysdeps/mach/hurd/fsync.c
index ef04ee97f9..c1d560f293 100644
--- a/sysdeps/mach/hurd/fsync.c
+++ b/sysdeps/mach/hurd/fsync.c
@@ -41,3 +41,4 @@ fsync (int fd)
}
return 0;
}
+libc_hidden_def (fsync)
diff --git a/sysdeps/unix/sysv/linux/fdatasync.c b/sysdeps/unix/sysv/linux/fdatasync.c
index 84c07f212e..12fb3c13e5 100644
--- a/sysdeps/unix/sysv/linux/fdatasync.c
+++ b/sysdeps/unix/sysv/linux/fdatasync.c
@@ -27,3 +27,4 @@ fdatasync (int fd)
{
return SYSCALL_CANCEL (fdatasync, fd);
}
+libc_hidden_def (fdatasync)
diff --git a/sysdeps/unix/sysv/linux/fsync.c b/sysdeps/unix/sysv/linux/fsync.c
index 234bb0049f..e4b5c8c342 100644
--- a/sysdeps/unix/sysv/linux/fsync.c
+++ b/sysdeps/unix/sysv/linux/fsync.c
@@ -26,3 +26,4 @@ fsync (int fd)
{
return SYSCALL_CANCEL (fsync, fd);
}
+libc_hidden_def (fsync)