summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-01-02 16:20:25 -0500
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-06 23:54:29 +0100
commit16fc66a4faf631fffa518eb7806ec70e03c78f63 (patch)
treec46309e1618832d4656b023fce05f61a0016b887
parenta6975db114cce6484aa83f107d4496cd6045fd26 (diff)
extra/Configs/Config.in: add syncfs() to Linux-specific functions
syncfs() was recently added (commit dfa593d4d). But man sync(2) specifies that syncfs() is Linux-specific. This was overlooked in the original commit so we add it to the set of Linux-specific functions supported by uClibc. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--extra/Configs/Config.in5
-rw-r--r--libc/sysdeps/linux/common/Makefile.in1
2 files changed, 4 insertions, 2 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index cdd494216..25b512677 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1042,8 +1042,9 @@ config UCLIBC_LINUX_SPECIFIC
sched_getaffinity(), sched_setaffinity(), sendfile(),
setfsgid(), setfsuid(), setresgid(), setresuid(),
splice(), vmsplice(), tee(), signalfd(), statfs(),
- swapoff(), swapon(), sync_file_range(), _sysctl(),
- sysinfo(), timerfd_*(), vhangup(), umount(), umount2()
+ swapoff(), swapon(), sync_file_range(), syncfs(),
+ _sysctl(), sysinfo(), timerfd_*(), vhangup(), umount(),
+ umount2()
config UCLIBC_HAS_GNU_ERROR
bool "Support GNU extensions for error-reporting"
diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in
index ade0ac3e2..887dc3d62 100644
--- a/libc/sysdeps/linux/common/Makefile.in
+++ b/libc/sysdeps/linux/common/Makefile.in
@@ -56,6 +56,7 @@ CSRC-$(UCLIBC_LINUX_SPECIFIC) += \
swapoff.c \
swapon.c \
sync_file_range.c \
+ syncfs.c \
sysctl.c \
sysinfo.c \
tee.c \