diff options
Diffstat (limited to 'test/automated/inotify-test.el')
-rw-r--r-- | test/automated/inotify-test.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/automated/inotify-test.el b/test/automated/inotify-test.el index 175f262b282..b4d20cf4fb1 100644 --- a/test/automated/inotify-test.el +++ b/test/automated/inotify-test.el @@ -25,6 +25,9 @@ (require 'ert) +(declare-function inotify-add-watch "inotify.c" (file-name aspect callback)) +(declare-function inotify-rm-watch "inotify.c" (watch-descriptor)) + (when (featurep 'inotify) ;; (ert-deftest filewatch-file-watch-aspects-check () @@ -45,7 +48,7 @@ (let ((temp-file (make-temp-file "inotify-simple")) (events 0)) (let ((wd - (inotify-add-watch temp-file t (lambda (ev) + (inotify-add-watch temp-file t (lambda (_ev) (setq events (1+ events)))))) (unwind-protect (progn |