tRemove unused listwatcher() function - wendy - watch files/directories and run commands on any event
(HTM) git clone git://z3bra.org/wendy
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 15c460099b6b0bfaa575b88646894e4d8b6ab755
(DIR) parent 2619339f1fb96c93f427bf088e898e713aa36e0b
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Fri, 28 Feb 2020 19:10:21 +0100
Remove unused listwatcher() function
Diffstat:
M wendy.c | 12 ------------
1 file changed, 0 insertions(+), 12 deletions(-)
---
(DIR) diff --git a/wendy.c b/wendy.c
t@@ -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)
{
t@@ -66,7 +55,6 @@ getwatcher(struct watchers *h, int wd)
return tmp;
return NULL;
-
}
struct watcher *