diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2006-11-13 21:30:37 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:55 +0200 |
commit | a42c7a969bfbc6d556179bd19d1fda7cf80f25a8 (patch) | |
tree | e8561178fd94a081f07992f69c290971e945cbb4 /device | |
parent | f387d24c7d59cfd219c3b795a512981347240380 (diff) |
2006-11-14 Barry deFreese <bddebian@comcast.net>
* device/chario.c (tty_cts): Add `void' return type.
* device/cons.c (cninit, cnputc): Add `void' return type.
(cngetc, cnmaygetc): Add `int' return type.
* device/net_io.c (net_del_q_info, net_free_dead_infp)
(net_free_dead_entp): Add `void' return type.
* i386/i386/fpu.c (fpnoextflt, fpextovrflt, fpexterrflt, fp_save)
(fp_load, fpintr): Add `void' return type.
* i386/i386/ktss.c (ktss_init): Add `int' type to `exception_stack'.
* i386/i386/loose_ends.c (delay): Add `void' return type.
* i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys)
(copy_from_phys): Add `void' return type.
* i386/i386/pic.c (picinit, form_pic_mask, intnull, prtnull): Add
`void' return type.
* i386/i386/pit.c (clkstart): Add `void' return type.
* i386/i386at/com.c (comparm, comtimer, fix_modem_state)
(commodem_intr): Add `void' return type.
(comintr, commctl, comstop): Add `int' return type.
* i386/i386at/iopl.c (ioplclose): Add `int' return type.
* i386/i386at/kd.c (kd_io_map_openn, kd_io_map_close, feep, pause)
(kd_debug_put, cnpollc, kdclose, kd_handle_ack, kd_resend, kdinit)
(kd_belloff, kd_bellon, kd_putc, kd_setpos, kd_scrollup, kd_scrolldn)
(kd_parseesc, kd_parserest, kd_tab, kd_cls, kd_home, kd_up, kd_down)
(kd_right, kd_left, kd_cr, kd_cltobcur, kd_cltopcurn, kd_cltoecur)
(kd_clfrbcur, kd_delln, kd_insln, kd_delch, kd_erase, kd_eraseln)
(kd_insch, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain)
(set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot): Add
`void' return type.
(kdopen, kdread, kdwrite, kdportdeath, kdsetbell, kdgetkbent, kdintr)
(do_modifier, kdstate2idx, kdstart, kdstop, kd_kbd_magic): Add `int'
return type.
(kd_isupper, kd_islower): Add `boolean_t' return type.
(kd_cmdreg_read): Add `unsigned char' return type.
* i386/i386at/kd_event.c (kbdinit, kbdclose, kdb_in_out, X_kdb_enter)
(X_kdb_exit, X_kdb_enter_init, X_kdb_exit_init): Add `void' return
type.
(kbdopen, kbdioctl, kbdselect, kbdread): Add `int' return type.
* i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_open)
(kd_mouse_open, mouseclose, serial_mouse_close, kd_mouse_close)
(mouse_handle_byte, mouse_packet_mouse_system_mouse)
(mouse_packet_microsoft_mouse, ibm_ps2_mouse_open)
(ibm_ps2_mouse_close, mouse_packet_ibm_ps2_mouse, mouse_moved)
(mouse_button): Add `void' return type.
(mouseopen, mouseioctl, mouseselect, mouseread, mouseintr): Add `int'
return type.
* i386/i386at/lpr.c (lprclose, lprpr_addr): Add `void' return type.
(lprprobe, lpropen, lprread, lprwrite, lprportdeath, lprstop, lprpr):
Add `int' return type.
* i386/i386at/model_dep.c (i386at_init, startrtclock): Add `void'
return type.
(timemmap): Add `int' return type.
* i386/i386at/rtc.c (rtcinit, rtcput): Add `void' return type.
(yeartoday, hexdectodec, readtodc, writetodc): Add `int' return type.
* i386/intel/pmap.c (pmap_pageable): Add `void' return type.
* kern/eventcount.c (simpler_thread_setrun): Add `int' type to
`whichrq' variable.
Diffstat (limited to 'device')
-rw-r--r-- | device/chario.c | 1 | ||||
-rw-r--r-- | device/cons.c | 4 | ||||
-rw-r--r-- | device/net_io.c | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/device/chario.c b/device/chario.c index 1c1ec54..8108d21 100644 --- a/device/chario.c +++ b/device/chario.c @@ -1080,6 +1080,7 @@ boolean_t ttymodem( * * Tty must be locked and on master. */ +void tty_cts( struct tty * tp, boolean_t cts_up) diff --git a/device/cons.c b/device/cons.c index 07a1958..7fdb959 100644 --- a/device/cons.c +++ b/device/cons.c @@ -72,6 +72,7 @@ static char *consbp = consbuf; static int consbufused = 0; #endif +void cninit() { struct consdev *cp; @@ -225,6 +226,7 @@ cncontrol(dev, cmd, data) #endif #endif +int cngetc() { if (cn_tab) @@ -235,6 +237,7 @@ cngetc() } #ifdef MACH_KERNEL +int cnmaygetc() { if (cn_tab) @@ -245,6 +248,7 @@ cnmaygetc() } #endif +void cnputc(c) int c; { diff --git a/device/net_io.c b/device/net_io.c index e0eb334..71d92b4 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -2104,6 +2104,7 @@ net_add_q_info (rcv_port) return (int)qlimit; } +void net_del_q_info (qlimit) int qlimit; { @@ -2121,6 +2122,7 @@ net_del_q_info (qlimit) * Deallocates dead net_rcv_port_t. * No locks should be held when called. */ +void net_free_dead_infp (dead_infp) queue_entry_t dead_infp; { @@ -2142,6 +2144,7 @@ net_free_dead_infp (dead_infp) * Deallocates dead net_hash_entry_t. * No locks should be held when called. */ +void net_free_dead_entp (dead_entp) queue_entry_t dead_entp; { |