(inotify-file-watch-simple): Silence compiler.
2013-07-09 Glenn Morris <rgm@gnu.org>
+ * automated/inotify-test.el (inotify-add-watch, inotify-rm-watch):
+ Declare.
+ (inotify-file-watch-simple): Silence compiler.
+
* automated/python-tests.el (python-indent-block-enders):
Make it actually test something.
(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 ()
(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