summaryrefslogtreecommitdiff
path: root/inotail.1
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-01-20 17:08:37 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-01-20 17:08:37 +0100
commit1e3ccf4b6a5ffee1f57dd50c23ae20499ed74910 (patch)
tree22842c8640b9d6b148edefe4a042e13300d4a477 /inotail.1
parent7fb27cb14e0761c8d746f3d6fe6b748570b29990 (diff)
inotify-syscalls.h: Check whether the syscall numbers are already defined
glibc already defines the inotify syscall numbers on some architectures. This should fix the following warning on arm and hppa: In file included from inotail.c:37: inotify-syscalls.h:50:1: warning: "__NR_inotify_init" redefined In file included from /usr/include/sys/syscall.h:25, from inotify-syscalls.h:13, from inotail.c:37: /usr/include/asm/unistd.h:344:1: warning: this is the location of the previous definition In file included from inotail.c:37: inotify-syscalls.h:51:1: warning: "__NR_inotify_add_watch" redefined In file included from /usr/include/sys/syscall.h:25, from inotify-syscalls.h:13, from inotail.c:37: /usr/include/asm/unistd.h:345:1: warning: this is the location of the previous definition In file included from inotail.c:37: inotify-syscalls.h:52:1: warning: "__NR_inotify_rm_watch" redefined In file included from /usr/include/sys/syscall.h:25, from inotify-syscalls.h:13, from inotail.c:37: /usr/include/asm/unistd.h:346:1: warning: this is the location of the previous definition
Diffstat (limited to 'inotail.1')
0 files changed, 0 insertions, 0 deletions