diff --git a/src/arch.c b/src/arch.c index 28321b3..cabd7d3 100644 --- a/src/arch.c +++ b/src/arch.c @@ -26,7 +26,7 @@ static void clean_exit(int excode) { time_t t = time(NULL); - notify_cleanup(); + notify_exit(); // Clean output int status = output_exit(); diff --git a/src/notify/inotify.c b/src/notify/inotify.c index 6e0a812..b9be358 100644 --- a/src/notify/inotify.c +++ b/src/notify/inotify.c @@ -180,7 +180,7 @@ int notify_init() { return 1; } -void notify_cleanup() { +void notify_exit() { fd = 0; diff --git a/src/notify/notify.h b/src/notify/notify.h index 4631fc4..1c05c33 100644 --- a/src/notify/notify.h +++ b/src/notify/notify.h @@ -17,14 +17,12 @@ int notify_init(); -void notify_cleanup(); +void notify_exit(); int notify_add_watch(const char *path); int notify_rm_watch(const char *path); -void notify_print_stat(); - notify_event* notify_read(); void notify_stat();