From 1090d6bf1039732d6441f894f6713e9ab58e01fa Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 13 Feb 2009 17:38:50 +0000 Subject: [PATCH] [BZ #7040] * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of inotify_rm_watch should have type int. --- ChangeLog.mips | 6 ++++++ sysdeps/unix/sysv/linux/mips/sys/inotify.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog.mips b/ChangeLog.mips index bccb10d..a52748a 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,9 @@ +2009-02-13 Joseph Myers + + [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 * 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 a811c7f..49f3947 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 -- 2.7.4