Age | Commit message (Collapse) | Author | Files | Lines |
|
Also do some cleanup work.
|
|
I should build on all of these now:
http://buildd.debian.org/pkg.cgi?pkg=inotail
|
|
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
|
|
According to the Linux source it's:
* s/linux/Linux/
* s/Kernel/kernel/
* s/Inotify/inotify/ (except at the beginning of a sentence)
|
|
Don't know whether it is correct to set myself as copyright holder as I only
drew this file together from various source in the kernel source, but all of
them stating no copyright information.
|
|
Update syscall numbers and add them for some more architectures
|
|
|