Mercurial > emacs
diff src/dosfns.c @ 109162:8efd6d04c47a
Convert function definitions in MS-DOS sources to ANSI C.
msdos.h:
msdos.c:
dosfns.c:
w16select.c: Convert function definitions to ANSI C.
msdos.h (ctrl_break_func, install_ctrl_break_check): Remove
unused prototypes.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 07 Jul 2010 18:28:47 +0300 |
parents | 84b961690802 |
children | 8cfee7d2955f |
line wrap: on
line diff
--- a/src/dosfns.c Wed Jul 07 12:30:57 2010 +0200 +++ b/src/dosfns.c Wed Jul 07 18:28:47 2010 +0300 @@ -283,7 +283,7 @@ #endif /* !HAVE_X_WINDOWS */ void -init_dosfns () +init_dosfns (void) { union REGS regs; _go32_dpmi_registers dpmiregs; @@ -481,9 +481,7 @@ sets the name in the frame struct, but has no other effects. */ void -x_set_title (f, name) - struct frame *f; - Lisp_Object name; +x_set_title (struct frame *f, Lisp_Object name) { /* Don't change the title if it's already NAME. */ if (EQ (name, f->title)) @@ -536,7 +534,7 @@ (There are no other processes on DOS, right?) */ Lisp_Object -list_system_processes () +list_system_processes (void) { Lisp_Object proclist = Qnil; @@ -689,7 +687,8 @@ /* * Define everything */ -syms_of_dosfns () +void +syms_of_dosfns (void) { defsubr (&Sint86); defsubr (&Sdos_memget);