summaryrefslogtreecommitdiff
path: root/recipes/util-linux/files/umount.diff
blob: 78330789efa4de7d7bed7af044f2f9df1b72af7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** util-linux-2.12r/mount/umount.c.orig	2005-09-10 20:07:38.000000000 +0200
--- util-linux-2.12r/mount/umount.c	2006-06-07 21:14:04.000000000 +0200
***************
*** 40,46 ****
  #include <linux/unistd.h>
  #ifdef __NR_umount2
  
! static int umount2(const char *path, int flags);
  
  _syscall2(int, umount2, const char *, path, int, flags);
  
--- 40,46 ----
  #include <linux/unistd.h>
  #ifdef __NR_umount2
  
! int umount2(const char *path, int flags);
  
  _syscall2(int, umount2, const char *, path, int, flags);