aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-02-13 17:38:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2009-02-13 17:38:50 +0000
commit1090d6bf1039732d6441f894f6713e9ab58e01fa (patch)
tree2d880323b3e9167cef4218b801cf8543ff9f3a84
parentf281f9cfdae6156aca98c23cecc796907e9ca913 (diff)
downloadglibc-1090d6bf1039732d6441f894f6713e9ab58e01fa.tar.xz
glibc-1090d6bf1039732d6441f894f6713e9ab58e01fa.zip
[BZ #7040]
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of inotify_rm_watch should have type int.
-rw-r--r--ChangeLog.mips6
-rw-r--r--sysdeps/unix/sysv/linux/mips/sys/inotify.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index bccb10d796..a52748add1 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,9 @@
+2009-02-13 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #7040]
+ * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
+ inotify_rm_watch should have type int.
+
2009-02-02 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
diff --git a/sysdeps/unix/sysv/linux/mips/sys/inotify.h b/sysdeps/unix/sysv/linux/mips/sys/inotify.h
index a811c7fc36..49f39470e1 100644
--- a/sysdeps/unix/sysv/linux/mips/sys/inotify.h
+++ b/sysdeps/unix/sysv/linux/mips/sys/inotify.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -98,7 +98,7 @@ extern int inotify_add_watch (int __fd, const char *__name, uint32_t __mask)
__THROW;
/* Remove the watch specified by WD from the inotify instance FD. */
-extern int inotify_rm_watch (int __fd, uint32_t __wd) __THROW;
+extern int inotify_rm_watch (int __fd, int __wd) __THROW;
__END_DECLS