Mercurial > emacs
diff src/fileio.c @ 109129:907fcf8bd2ef
Fix prototypes.
* dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent.
* fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object,
as required by internal_condition_case_1.
* regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object.
(analyse_first): Fix "const const".
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sun, 04 Jul 2010 13:51:28 +0200 |
parents | aec1143e8d85 |
children | b2c0bf061382 |
line wrap: on
line diff
--- a/src/fileio.c Sun Jul 04 12:07:27 2010 +0200 +++ b/src/fileio.c Sun Jul 04 13:51:28 2010 +0200 @@ -3248,12 +3248,12 @@ /* Read from a non-regular file. - Read non_regular_trytry bytes max from non_regular_fd. + Read non_regular_nbytes bytes max from non_regular_fd. Non_regular_inserted specifies where to put the read bytes. Value is the number of bytes read. */ static Lisp_Object -read_non_regular (void) +read_non_regular (Lisp_Object ignored) { EMACS_INT nbytes; @@ -3271,7 +3271,7 @@ in insert-file-contents. */ static Lisp_Object -read_non_regular_quit (void) +read_non_regular_quit (Lisp_Object ignored) { return Qnil; }