diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2015-09-16 15:50:37 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2015-09-16 15:50:37 +0200 |
commit | c762d3305cbd429606ef9f51f62b9bb3f36d00f2 (patch) | |
tree | 309e869d65abc2fd0398d7656c30d820bf94d6c9 /src/lisp.h | |
parent | 1636e8c75a0d4576e6ac7a246bd7a484a79ecbc2 (diff) |
Use common report_file_notify_error function
* src/fileio.c (report_file_notify_error): New function.
* src/inotify.c (report_inotify_error): Remove function.
(inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
(Finotify_rm_watch): Use report_file_notify_error.
* src/lisp.h (report_file_notify_error): Declare external function.
* src/w32notify.c (report_w32notify_error): Remove function.
(Fw32notify_add_watch, Fw32notify_rm_watch):
Use report_file_notify_error.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index 71630edd0c..acbd679b44 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3840,6 +3840,7 @@ extern void fclose_unwind (void *); extern void restore_point_unwind (Lisp_Object); extern _Noreturn void report_file_errno (const char *, Lisp_Object, int); extern _Noreturn void report_file_error (const char *, Lisp_Object); +extern _Noreturn void report_file_notify_error (const char *, Lisp_Object); extern bool internal_delete_file (Lisp_Object); extern Lisp_Object emacs_readlinkat (int, const char *); extern bool file_directory_p (const char *); |