aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* ddb/db_mp.c: use boolean instead of an intMarin Ramesa2013-12-091-1/+1
| | | | * ddb/db_mp.c (db_enter_debug): Use boolean instead of an int.
* ddb/db_examine.c: trivial stylistic fix for consistencyMarin Ramesa2013-12-091-3/+3
| | | | * ddb/db_examine.c: Trivial stylistic fix for consistency.
* ddb/db_examine.c (db_examine_cmd): remove forward declarationMarin Ramesa2013-12-091-1/+0
| | | | * ddb/db_examine.c (db_option): Remove forward declaration.
* ddb/db_command.c (db_command): remove forward declarationMarin Ramesa2013-12-091-1/+0
| | | | * ddb/db_command.c (db_fncall): Remove forward declaration.
* ddb/db_command.c: use boolean valuesMarin Ramesa2013-12-091-4/+4
| | | | * ddb/db_command.c (db_cmd_loop_done): Use boolean values.
* i386/i386at/kd.c: use io_req instead of uioMarin Ramesa2013-12-093-10/+5
| | | | | | | | | | | | Struct uio is nowhere defined and in device/buf.h the string uio is defined as io_req. Remove all declarations of uio structure and use io_req_t instead of it. * device/buf.h (uio, io_req): Remove definition. * i386/i386at/kd.c: Remove comment. (kdread): Use io_req_t. (kdwrite): Likewise. * i386/i386at/kd.h (kdread, kdwrite): Use io_req_t as argument type.
* ddb/db_break.c (db_find_thread_breakpoint_here): remove unnecessary castMarin Ramesa2013-12-091-1/+1
| | | | | | Variable addr is already of type db_addr_t. * ddb/db_break.c (db_find_thread_breakpoint_here) (addr): Don't cast to db_addr_t.
* ddb/db_break.c (db_add_thread_breakpoint): fix argument listMarin Ramesa2013-12-091-0/+1
| | | | * ddb/db_break.c (db_add_thread_breakpoint): Fix argument list.
* ddb/db_aout.c (aout_db_lookup): remove forward declarationMarin Ramesa2013-12-092-2/+6
| | | | | * ddb/db_aout.c (db_sym_parse_and_lookup): Remove forward declaration. * ddb/db_sym.h (db_sym_parse_and_lookup): Add prototype.
* ddb/db_aout.c (aout_db_qualified_search): use DB_SYM_NULL as return valueMarin Ramesa2013-12-091-5/+5
| | | | | | | Function aout_db_qualified_search() returns db_sym_t. Use DB_SYM_NULL as return value instead of zero. * ddb/db_aout.c (aout_db_qualified_search): Use DB_SYM_NULL as return value.
* i386/i386/db_interface.c: remove forward declarationMarin Ramesa2013-12-092-1/+7
| | | | | * i386/i386/db_interface.c (db_write_bytes_user_space): Remove forward declaration. * i386/i386/db_interface.h (db_write_bytes_user_space): Add prototype.
* i386/i386at/lpr.c: fix initalization from incompatible pointer typeMarin Ramesa2013-12-092-3/+3
| | | | | * i386/i386at/lpr.c (lprprobe): Modify argument types. * i386/i386at/lpr.h (lprprobe): Likewise.
* i386/i386at/com.c: fix assignment from incompatible pointer typeMarin Ramesa2013-12-091-2/+2
| | | | * device/tty.h (tty): Modify so that correct argument list and return type is listed.
* i386/i386at/com.c: fix initialization from incompatible pointer typeMarin Ramesa2013-12-092-3/+3
| | | | | | | | * i386/i386at/com.c (comprobe): Modify argument types. (comprobe): Cast from (struct bus_ctrl *) to (struct bus_device *). comprobe_general() uses only a small subset of members, so it's all the same which struct it is. * i386/i386at/com.h (comprobe): Modify argument types.
* kern/startup.c: use boolean valuesMarin Ramesa2013-12-091-2/+2
| | | | * kern/startup.c (reboot_on_panic): Use boolean values.
* vm/vm_map.c: use boolean instead of an intMarin Ramesa2013-12-091-2/+2
| | | | * vm/vm_map.c (vm_map_pmap_enter_print, vm_map_pmap_enter_enable): Use boolean instead of an int.
* vm/vm_object.c: remove unused variableMarin Ramesa2013-12-091-2/+0
| | | | * vm/vm_object.c (vm_object_terminate_remove_all): Remove unused variable.
* vm/vm_pageout.c: remove forward declarationsMarin Ramesa2013-12-092-3/+4
| | | | | * vm/vm_pageout.c (vm_pageout_continue, vm_pageout_scan_continue): Remove forward declarations. * vm/vm_pageout.h (vm_pageout_continue, vm_pageout_scan_continue): Add prototypes.
* i386/i386at/pic_isa.c: remove forward declarationMarin Ramesa2013-12-093-1/+31
| | | | | | | | | | * i386/Makefrag.am: Include i386/i386/hardclock.h. * i386/i386/hardclock.h: New file. Add copyright. [_I386_HARDCLOCK_H_]: Add ifndef. (hardclock): Add prototype. * i386/i386at/pic_isa.c (hardclock): Remove forward declaration. Include i386/hardclock.h.
* i386/i386at/model_dep.c: fix argument listMarin Ramesa2013-12-091-0/+2
| | | | * i386/i386at/model_dep.c (timemmap): Fix argument list.
* i386/i386at/lpr.c: fix argument listMarin Ramesa2013-12-091-0/+1
| | | | * i386/i386at/lpr.c (lprprobe): Fix argument list.
* ddb/db_output.c: remove forward declarationMarin Ramesa2013-12-092-2/+3
| | | | | | * ddb/db_input.h (db_check_interrupt): Add prototype. * ddb/db_output.c: Include ddb/db_input.h. (db_check_interrupt): Remove forward declaration.
* kern/act.h: remove unnecessary includeMarin Ramesa2013-12-091-2/+0
| | | | | | File kern/act.h includes itself. Remove this include. * kern/act.h: Don't include kern/act.h.
* Cleanup of the prototypesMarin Ramesa2013-12-099-41/+0
| | | | | | | | | | | | * device/cirbuf.h (nqdb): Remove prototype without definition. * device/conf.h (dev_set_indirect): Likewise. * kern/boot_script.h (boot_script_read_file): Likewise. * kern/eventcount.h (evc_notify_abort): Remove duplicate prototype. * kern/thread.h (thread_set_own_priority): Likewise. * kern/thread_swap.h (thread_swapout): Remove prototype without definition. * kern/timer.h (softclock): Remove duplicate prototype. * vm/pmap.h (pmap_resident_count, pmap_access, pmap_phys_address, pmap_phys_to_frame): Remove prototypes without function definition. * vm/vm_page.h (vm_set_page_size): Likewise.
* vm/vm_page.h: remove unused variablesMarin Ramesa2013-12-091-5/+0
| | | | * vm/vm_page.h (first_phys_addr, last_phys_addr): Remove unused variables.
* kern/syscall_sw.c: use boolean instead of an intMarin Ramesa2013-12-091-1/+1
| | | | * kern/syscall_sw.c (kern_invalid_debug): Use boolean instead of an int.
* kern/refcount.h: remove unnecessary includeMarin Ramesa2013-12-091-2/+0
| | | | | | File kern/refcount.h includes itself. Remove this include. * kern/refcount.h: Don't include kern/refcount.h.
* kern/rbtree.h: remove unnecessary includeMarin Ramesa2013-12-091-1/+0
| | | | | | File kern/rbtree.h includes itself. Remove this include. * kern/rbtree.h: Don't include kern/rbtree.h.
* kern/priority.c: update commentMarin Ramesa2013-12-091-1/+1
| | | | | | This is priority.c. Not clock_prim.c. * kern/priority.c: Update comment.
* kern/pc_sample.c: remove unused variablesMarin Ramesa2013-12-091-3/+0
| | | | * kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused variables.
* kern/lock_mon.c: remove dead assignmentsMarin Ramesa2013-12-091-6/+0
| | | | | * kern/lock_mon.c (scurval, ssum, sli): Remove variables. (scurval, ssum, sli): Remove dead assignments.
* kern/lock_mon.c: use spl_t instead of an intMarin Ramesa2013-12-091-1/+1
| | | | | | Variable curr_ipl is in other files declared as spl_t. * kern/lock_mon.c (curr_ipl): Use spl_t instead of an int.
* kern/act.h: remove prototype without definitionMarin Ramesa2013-12-091-1/+0
| | | | * kern/act.h (act_create_kernel): Remove prototype without definition.
* Add commentSamuel Thibault2013-12-091-0/+1
|
* ipc/port.h: update commentMarin Ramesa2013-12-091-1/+1
| | | | | | This is ipc/port.h. Not ipc/ipc_port.h. * ipc/port.h: Update comment.
* ipc/mach_port.c: use boolean instead of an intMarin Ramesa2013-12-091-1/+1
| | | | * ipc/mach_port.c (mach_port_deallocate_debug): Use boolean instead of an int.
* ipc/ipc_init.c: qualify constant with constMarin Ramesa2013-12-091-1/+1
| | | | * ipc/ipc_init.c (ipc_kernel_map_size): Qualify constant with const.
* i386/intel/pmap.c: remove unused variableMarin Ramesa2013-12-091-2/+0
| | | | * i386/intel/pmap.c (end): Remove unused variable.
* i386/intel/pmap.c: use boolean instead of an intMarin Ramesa2013-12-091-1/+1
| | | | * i386/intel/pmap.c (pmap_debug): Use boolean instead of an int.
* time: remove unused variableMarin Ramesa2013-12-092-2/+0
| | | | | * i386/i386at/rtc.c (tz): Remove unused variable. * xen/time.c (tz): Remove unused variable.
* i386/i386at/rtc.c: use boolean instead of an intMarin Ramesa2013-12-091-3/+3
| | | | * i386/i386at/rtc.c (first_rtcopen_ever): Use boolean instead of an int.
* i386/i386at/kd.c: use boolean instead of an unsigned intMarin Ramesa2013-12-091-3/+3
| | | | * i386/i386at/kd.c (kd_bellstate): Use boolean instead of an unsigned int.
* i386/i386at/kd.c: use boolean instead of an intMarin Ramesa2013-12-091-3/+3
| | | | | * i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int. Remove duplicate declaration.
* i386/i386at/model_dep.c, kd.c: use boolean instead of an intMarin Ramesa2013-12-092-4/+3
| | | | | | * i386/i386at/kd.c (rebootflag): Use boolean instead of an int. Remove duplicate variable declaration. * i386/i386at/model_dep.c (rebootflag): Use boolean instead of an int.
* i386/i386at/immc.c, kd.c: use boolean instead of an intMarin Ramesa2013-12-092-3/+3
| | | | | * i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int. * i386/i386at/kd.c (immediate_console_enable): Likewise.
* i386/i386/user_ldt.c: remove unused variableMarin Ramesa2013-12-091-12/+0
| | | | * i386/i386/user_ldt.c (acc_type): Remove unused variable.
* i386/i386/trap.c: remove unused variablesMarin Ramesa2013-12-091-11/+0
| | | | * i386/i386/trap.c (v86_assist_on, v86_unsafe_ok, v86_do_sti_cli, v86_do_sti_immediate, cli_count, sti_count): Remove unused variables.
* i386/i386/trap.c: remove unused variableMarin Ramesa2013-12-081-3/+0
| | | | * i386/i386/trap.c (brb): Remove unused variable.
* i386/i386/pit.c: remove unused variablesMarin Ramesa2013-12-081-2/+0
| | | | * i386/i386/pit.c (pitctr1_port, pitctr2_port): Remove unused variables.
* i386/i386/pic.c: remove unused variablesMarin Ramesa2013-12-081-3/+0
| | | | * i386/i386/pic.c (nintr, npics): Remove unused variables.