diff options
author | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-06-07 19:59:03 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-06-07 19:59:03 +0000 |
commit | 82281183231cf5d72da214e42e7340bfcd900e13 (patch) | |
tree | c436176cf39102858e8d614eaa010c3d93c02503 /packages/util-linux/files | |
parent | a072b606633f34ac647d49a735713d5a0a4cc9dc (diff) |
util-linux: gcc 4.1.1 did not like umount being redeclared as static
made patch to remove static, included it in the inc file
bumped all PRs of the files that include that file
Diffstat (limited to 'packages/util-linux/files')
-rw-r--r-- | packages/util-linux/files/umount.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/util-linux/files/umount.diff b/packages/util-linux/files/umount.diff new file mode 100644 index 0000000000..78330789ef --- /dev/null +++ b/packages/util-linux/files/umount.diff @@ -0,0 +1,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); + |