diff options
author | Eli Zaretskii <eliz@gnu.org> | 2010-07-07 18:28:47 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2010-07-07 18:28:47 +0300 |
commit | 3a8ce8225692c705bb0dde88acb62bda6e688158 (patch) | |
tree | a3fbc455b85d68e97dec8aaf9985b2edc73a59ec /src/dosfns.c | |
parent | fd5539c6de4df242b517a73ced2fc1ff1f661227 (diff) | |
download | emacs-3a8ce8225692c705bb0dde88acb62bda6e688158.tar.gz |
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.
Diffstat (limited to 'src/dosfns.c')
-rw-r--r-- | src/dosfns.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/dosfns.c b/src/dosfns.c index e8756de21a1..e31f25203e9 100644 --- a/src/dosfns.c +++ b/src/dosfns.c @@ -283,7 +283,7 @@ restore_parent_vm_title (void) #endif /* !HAVE_X_WINDOWS */ void -init_dosfns () +init_dosfns (void) { union REGS regs; _go32_dpmi_registers dpmiregs; @@ -481,9 +481,7 @@ w95_set_virtual_machine_title (const char *title_string) 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 @@ If the underlying system call fails, value is nil. */) (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 @@ dos_cleanup (void) /* * Define everything */ -syms_of_dosfns () +void +syms_of_dosfns (void) { defsubr (&Sint86); defsubr (&Sdos_memget); |