summaryrefslogtreecommitdiff
path: root/utils/pids.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-28 23:56:34 +0000
committerRoland McGrath <roland@gnu.org>2002-05-28 23:56:34 +0000
commit25b39daa9074d851dd75ea87640ffeb7808c61f0 (patch)
treec20c984f230041e76fef4643b451a4dbdf971a49 /utils/pids.c
parent5cd8d4c8112c82457677bcf7eb92ab2cddad930d (diff)
2002-05-28 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'utils/pids.c')
-rw-r--r--utils/pids.c7
1 files changed, 3 insertions, 4 deletions
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 <miles@gnu.ai.mit.edu>
+ Copyright (C) 1997,99,2002 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
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;