Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
109161:2f63c33b2618 | 109162:8efd6d04c47a |
---|---|
281 delay (50); | 281 delay (50); |
282 } | 282 } |
283 #endif /* !HAVE_X_WINDOWS */ | 283 #endif /* !HAVE_X_WINDOWS */ |
284 | 284 |
285 void | 285 void |
286 init_dosfns () | 286 init_dosfns (void) |
287 { | 287 { |
288 union REGS regs; | 288 union REGS regs; |
289 _go32_dpmi_registers dpmiregs; | 289 _go32_dpmi_registers dpmiregs; |
290 unsigned long xbuf = _go32_info_block.linear_address_of_transfer_buffer; | 290 unsigned long xbuf = _go32_info_block.linear_address_of_transfer_buffer; |
291 | 291 |
479 | 479 |
480 If Emacs is not run from a DOS box on Windows 9X, this only | 480 If Emacs is not run from a DOS box on Windows 9X, this only |
481 sets the name in the frame struct, but has no other effects. */ | 481 sets the name in the frame struct, but has no other effects. */ |
482 | 482 |
483 void | 483 void |
484 x_set_title (f, name) | 484 x_set_title (struct frame *f, Lisp_Object name) |
485 struct frame *f; | |
486 Lisp_Object name; | |
487 { | 485 { |
488 /* Don't change the title if it's already NAME. */ | 486 /* Don't change the title if it's already NAME. */ |
489 if (EQ (name, f->title)) | 487 if (EQ (name, f->title)) |
490 return; | 488 return; |
491 | 489 |
534 /* System depended enumeration of and access to system processes a-la | 532 /* System depended enumeration of and access to system processes a-la |
535 ps(1). Here, we only return info about the running Emacs process. | 533 ps(1). Here, we only return info about the running Emacs process. |
536 (There are no other processes on DOS, right?) */ | 534 (There are no other processes on DOS, right?) */ |
537 | 535 |
538 Lisp_Object | 536 Lisp_Object |
539 list_system_processes () | 537 list_system_processes (void) |
540 { | 538 { |
541 Lisp_Object proclist = Qnil; | 539 Lisp_Object proclist = Qnil; |
542 | 540 |
543 proclist = Fcons (make_fixnum_or_float (getpid ()), proclist); | 541 proclist = Fcons (make_fixnum_or_float (getpid ()), proclist); |
544 | 542 |
687 } | 685 } |
688 | 686 |
689 /* | 687 /* |
690 * Define everything | 688 * Define everything |
691 */ | 689 */ |
692 syms_of_dosfns () | 690 void |
691 syms_of_dosfns (void) | |
693 { | 692 { |
694 defsubr (&Sint86); | 693 defsubr (&Sint86); |
695 defsubr (&Sdos_memget); | 694 defsubr (&Sdos_memget); |
696 defsubr (&Sdos_memput); | 695 defsubr (&Sdos_memput); |
697 defsubr (&Smsdos_mouse_init); | 696 defsubr (&Smsdos_mouse_init); |