update lttd inotify
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 25 Nov 2008 06:51:14 +0000 (06:51 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 25 Nov 2008 06:51:14 +0000 (06:51 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3163 04897980-b3bd-0310-b5e0-8ef037075253

trunk/ltt-control/lttd/lttd.c

index 87d5630c200983ed2d6cfc6af5e5016705130752..f9e7f3b815593ece3850cab3a9073721044ff16d 100644 (file)
@@ -52,6 +52,7 @@
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
 #include <sys/inotify.h>
+#if 0  /* should now be provided by libc. */
 /* From the inotify-tools 2.6 package */
 static inline int inotify_init (void)
 {
@@ -67,6 +68,7 @@ static inline int inotify_rm_watch (int fd, __u32 wd)
 {
        return syscall (__NR_inotify_rm_watch, fd, wd);
 }
+#endif //0
 #define HAS_INOTIFY
 #else
 static inline int inotify_init (void)
This page took 0.023632 seconds and 4 git commands to generate.