diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-13 02:52:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-13 02:52:24 +0000 |
commit | 67fe78f11c0120dfe8bf6e6eed2647c72e85d50c (patch) | |
tree | 6aab5e116a862e8581266e098bb9a4ac773cdf5c /src/users.c | |
parent | b18c5abf1c3d8ffa70de0ee6f3e036c3ef5d0747 (diff) | |
download | coreutils-67fe78f11c0120dfe8bf6e6eed2647c72e85d50c.tar.xz |
declare xmalloc
(users): rename users to n_users
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c index 423bce2a1..51dd6e1fe 100644 --- a/src/users.c +++ b/src/users.c @@ -24,6 +24,8 @@ #include "error.h" #include "readutmp.h" +char *xmalloc (); + /* The name this program was run with. */ char *program_name; @@ -96,8 +98,8 @@ list_entries_users (int n) static void users (const char *filename) { - int users = read_utmp (filename); - list_entries_users (users); + int n_users = read_utmp (filename); + list_entries_users (n_users); } static void |