about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/x86_64/umount.c
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-03-18 17:01:06 -0400
committerZack Weinberg <zackw@panix.com>2018-03-26 09:05:19 -0400
commitf66704a937db50bbd78acc5c29f569b4c8e35d19 (patch)
tree92d261f99ff3346bffb3a61f6e788fe0daf6093e /sysdeps/unix/sysv/linux/x86_64/umount.c
parent9ea49e16c79bd2acd0d0648ca0163f26dd1c3dae (diff)
downloadglibc-zack/wip-check-localplt-2.tar.gz
glibc-zack/wip-check-localplt-2.tar.xz
glibc-zack/wip-check-localplt-2.zip
WIP finer-grained, more aggressive local PLT call check zack/wip-check-localplt-2
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/umount.c')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/umount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/umount.c b/sysdeps/unix/sysv/linux/x86_64/umount.c
index 9030774776..235fe1c105 100644
--- a/sysdeps/unix/sysv/linux/x86_64/umount.c
+++ b/sysdeps/unix/sysv/linux/x86_64/umount.c
@@ -19,9 +19,9 @@
 /* Since we don't have an oldumount system call, do what the kernel
    does down here.  */
 
-extern long int __umount2 (const char *name, int flags);
+#include <mount-internal.h>
 
-long int
+int
 __umount (const char *name)
 {
   return __umount2 (name, 0);