about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-01-30 20:45:59 +0000
committerUlrich Drepper <drepper@redhat.com>2009-01-30 20:45:59 +0000
commit431497800d69ffa9d06a798db5e2000a9d44a95e (patch)
tree1bec50f2c5b41900b60e56b27653962d795a1291
parentbd4ace0b90c9a168e3ca1535162b2e4ea9899622 (diff)
downloadglibc-431497800d69ffa9d06a798db5e2000a9d44a95e.tar.gz
glibc-431497800d69ffa9d06a798db5e2000a9d44a95e.tar.xz
glibc-431497800d69ffa9d06a798db5e2000a9d44a95e.zip
[BZ #7040]
2009-01-30  Ulrich Drepper  <drepper@redhat.com>
	[BZ #7040]
	* sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of
	inotify_rm_watch should have type int.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/sys/inotify.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8153b22e13..56219ba87e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-30  Ulrich Drepper  <drepper@redhat.com>
+
+	[BZ #7040]
+	* sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of
+	inotify_rm_watch should have type int.
+
 2009-01-06  Steven Munroe  <sjmunroe@us.ibm.com>
 
 	* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
diff --git a/sysdeps/unix/sysv/linux/sys/inotify.h b/sysdeps/unix/sysv/linux/sys/inotify.h
index 81e31fb646..8b3a85280f 100644
--- a/sysdeps/unix/sysv/linux/sys/inotify.h
+++ b/sysdeps/unix/sysv/linux/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