wendy

inotify based node watcher
git clone git://git.2f30.org/wendy
Log | Files | Refs | README | LICENSE

commit 15c460099b6b0bfaa575b88646894e4d8b6ab755
parent 2619339f1fb96c93f427bf088e898e713aa36e0b
Author: Willy Goiffon <dev@z3bra.org>
Date:   Fri, 28 Feb 2020 19:10:21 +0100

Remove unused listwatcher() function

Diffstat:
Mwendy.c | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/wendy.c b/wendy.c @@ -45,17 +45,6 @@ usage(char *name) exit(1); } -void -listwatcher(struct watchers *h) -{ - struct watcher *tmp; - - fprintf(stderr, "watchlist:\n"); - SLIST_FOREACH(tmp, h, entries) - fprintf(stderr, "%s (%lu)\n", tmp->path, tmp->wd); -} - - struct watcher * getwatcher(struct watchers *h, int wd) { @@ -66,7 +55,6 @@ getwatcher(struct watchers *h, int wd) return tmp; return NULL; - } struct watcher *