Age | Commit message (Collapse) | Author |
|
|
|
* pager.c (pager_read_page, pager_write_page): int -> size_t
|
|
* io.c (S_io_reauthenticate): unsigned -> size_t
(S_io_restrict_auth): Likewise.
|
|
* main.c (main): Cast int to intptr_t before any_t.
|
|
* storage-info.c (netfs_file_get_storage_info): Cast %* arg to int.
|
|
* ops.c (netfs_attempt_unlink): Use %tx and ptrdiff_t.
|
|
|
|
* rr.c (rrip_work): Cast pointer to uintptr_t instead of int.
|
|
* main.c (diskfs_append_args): unsigned -> size_t
* lookup.c (diskfs_get_directs): Likewise.
|
|
* conn.c (ftpfs_get_ftp_conn): Cast to uintptr_t before void *.
* ftpfs.c (cntl_debug): Vice versa.
|
|
|
|
* main.c (diskfs_append_args): Fix argument type.
(main): Use %z format modifier for size_t arg.
* dir.c (dirscanblock): Use %z format modifier for vm_address_t arg.
(diskfs_dirempty): int -> vm_address_t
(count_dirents): int -> size_t
(diskfs_get_directs): u_int -> size_t
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
|
|
* io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t
|
|
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t
before any_t.
|
|
* disk-pager.c (fault_handler): Use %z format for sc_pc.
|
|
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
|
|
* cthreads.c (cthread_exit): Cast any_t to long before int.
|
|
* cthread_internals.h: int -> void * for `busy' member.
* cprocs.c (cthread_mach_msg): Don't cast to int when setting it.
* cprocs.c (cthread_mag_active): Likewise.
|
|
|
|
* cthreads.h (cthread_sp): Cast to vm_address_t instead of int.
(mutex_unlock): Cast to void * instead of int.
|
|
* cprocs.c (cproc_list_lock): Declare type as spin_lock_t.
|
|
* main.c (main): Add a return after `error' call to clue compiler in.
|
|
* default_pager.c (part_id): Add const to argument type.
|
|
* loop.c (server_loop): size_t -> socklen_t
* cache.c (fh_hash): int -> intptr_t
|
|
* portinfo.c (print_port_info): Use %z formats for port names.
* xportinfo.c (print_xlated_port_info): Likewise.
|
|
|
|
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Remove unused var.
|
|
* swapon.c (check_signature): Use %zu for size_t arg.
|
|
* mgt.c (S_proc_reauthenticate, S_proc_getallpids): Likewise.
(add_tasks, S_proc_dostop): Likewise.
(S_proc_exception_raise): int -> integer_t
* pgrp.c (S_proc_getsessionpids, S_proc_getsessionpgids): Likewise.
(S_proc_getpgrppids): Likewise.
|
|
* host.c (S_proc_setexecdata, S_proc_getexecdata): u_int -> size_t
(initialize_version_info): Likewise. Fix cast in host_info arg.
(get_string_array): Likewise.
* info.c (get_string, S_proc_getprocargs, S_proc_getprocenv): Likewise.
(S_proc_getprocinfo, S_proc_getloginpids): Likewise.
(S_proc_getprocinfo): int -> size_t; fix casts in *_info argument.
|
|
* kids.c (store_open_children): Dereference pointer in isalnum call.
* set.c (store_set_runs): Fix argument type.
* kids.c (store_set_children): Likewise.
|
|
* set.c (store_set_runs): Fix argument type.
* kids.c (store_set_children): Likewise.
|
|
* module.c (open_class): Add cast to int for %* arg.
|
|
* portinfo.c (print_port_info): Use %z formats for port names.
|
|
* wire.c: Use ElfW(TYPE) in place of Elf32_TYPE throughout.
|
|
* portxlate.c (port_name_xlator_xlate): Use mach_msg_type_name_t
instead of mach_port_type_t, to match RPC prototype.
|
|
* idvec-auth.c (idvec_merge_auth): int -> size_t.
|
|
* idvec-verify.c (verify_passwd): Cast to intptr_t before int.
|
|
* context.c (ps_context_find_tty_by_cttyid): int -> mach_port_t
* proclist.c (proc_stat_list_add_all): unsigned -> size_t
(proc_stat_list_add_login_coll): Likewise.
(proc_stat_list_add_session): Likewise.
(proc_stat_list_add_fn_pids): Likewise.
(proc_stat_list_add_id_fn_pids): Likewise.
|
|
* host.c (ps_host_basic_info): int -> size_t
(ps_host_basic_info, ps_host_load_info): Likewise.
* ps.h: Update decls.
(struct proc_stat): unsigned -> size_t for task_events_info_size,
args_len, env_len.
* procstat.c (summarize_thread_waits): Fix argument type.
|
|
* data-request.c (_pager_seqnos_memory_object_data_request): Use %z
format modifier for vm_size_t argument.
* data-return.c (_pager_do_write_request): Likewise.
* data-unlock.c (_pager_seqnos_memory_object_data_unlock): Likewise.
|
|
* fsys-getroot.c (netfs_S_fsys_getroot): Fix arg type in decl.
* append-std-options.c (netfs_append_std_options): Likewise.
|
|
* file-exec.c (netfs_S_file_exec): u_int -> size_t in decl.
* netfs.h (netfs_append_args): unsigned -> size_t in decl.
|
|
* iouser-reauth.c (iohelp_reauth): u_int -> size_t
|
|
* xfer.c (ftp_conn_start_open_actv_data): size_t -> socklen_t
(ftp_conn_finish_open_actv_data): Likewise.
|
|
* fetch-root.c (fshelp_fetch_root): int -> size_t
* delegate.c (fshelp_delegate_translation): Likewise.
|