math: expf.c cleanup
[musl] / src / linux / mount.c
index 8e3cc12..34e11af 100644 (file)
@@ -3,5 +3,15 @@
 
 int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void *data)
 {
-       return syscall5(__NR_mount, (long)special, (long)dir, (long)fstype, flags, (long)data);
+       return syscall(SYS_mount, special, dir, fstype, flags, data);
+}
+
+int umount(const char *special)
+{
+       return syscall(SYS_umount2, special, 0);
+}
+
+int umount2(const char *special, int flags)
+{
+       return syscall(SYS_umount2, special, flags);
 }