about summary refs log tree commit diff
path: root/misc
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 /misc
parent3c79234c7a9cf57aa79e84745493dfad1a7c72fc (diff)
downloadglibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.tar.gz
glibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.tar.xz
glibc-412b05fec9323a093fe271ae01b4083ea2d1fc1f.zip
Add hidden prototypes for fsync, fdatasync
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/fdatasync.c1
-rw-r--r--misc/fsync.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/misc/fdatasync.c b/misc/fdatasync.c
index 28474812ca..c776978bba 100644
--- a/misc/fdatasync.c
+++ b/misc/fdatasync.c
@@ -25,3 +25,4 @@ fdatasync (int fildes)
 {
   return fsync (fildes);
 }
+libc_hidden_def (fdatasync)
diff --git a/misc/fsync.c b/misc/fsync.c
index e1c37c6016..1961dd0cb2 100644
--- a/misc/fsync.c
+++ b/misc/fsync.c
@@ -25,6 +25,6 @@ fsync (int fd)
   __set_errno (ENOSYS);
   return -1;
 }
-
+libc_hidden_def (fsync)
 
 stub_warning (fsync)