From 25b39daa9074d851dd75ea87640ffeb7808c61f0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 28 May 2002 23:56:34 +0000 Subject: 2002-05-28 Roland McGrath * pids.c (add_fn_pids): unsigned -> size_t * w.c (add_utmp_procs): Likewise. * login.c (add_canonical_host): Likewise. * ps.c (main): Likewise. * login.c (add_entry, main): Likewise. * settrans.c (main): int -> size_t * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * vmstat.c (main): Use int for FWIDTHS. * ping.c (main): size_t -> socklen_t * fakeauth.c (S_auth_getids, S_auth_makeauth, S_auth_server_authenticate): u_int -> size_t * showtrans.c (main): Cast field width/precision args to int. --- utils/pids.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'utils/pids.c') diff --git a/utils/pids.c b/utils/pids.c index 1f3ae316..44cd0b44 100644 --- a/utils/pids.c +++ b/utils/pids.c @@ -1,8 +1,7 @@ /* Pid parsing/frobbing - Copyright (C) 1997, 1999 Free Software Foundation, Inc. - - Written by Miles Bader + Copyright (C) 1997,99,2002 Free Software Foundation, Inc. + Written by Miles Bader This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -46,7 +45,7 @@ proc_server () error_t add_fn_pids (pid_t **pids, size_t *num_pids, unsigned id, error_t (*pids_fn)(process_t proc, pid_t id, - pid_t **pids, unsigned *num_pids)) + pid_t **pids, size_t *num_pids)) { size_t num_new_pids = 25; pid_t _new_pids[num_new_pids], *new_pids = _new_pids; -- cgit v1.2.3