/* id -- print real and effective UIDs and GIDs
- Copyright (C) 1989-2004 Free Software Foundation, Inc.
+ Copyright (C) 1989-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
{
int n_groups;
GETGROUPS_T *groups;
- register int i;
+ int i;
if (! xgetgroups (username, (pwd ? pwd->pw_gid : (gid_t) -1),
&n_groups, &groups))
{
int n_groups;
GETGROUPS_T *groups;
- register int i;
+ int i;
if (! xgetgroups (username, (pwd ? pwd->pw_gid : (gid_t) -1),
&n_groups, &groups))
/* logname -- print user's login name
- Copyright (C) 1990-1997, 1999-2004 Free Software Foundation, Inc.
+ Copyright (C) 1990-1997, 1999-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
int
main (int argc, char **argv)
{
- register char *cp;
+ char *cp;
initialize_main (&argc, &argv);
program_name = argv[0];
/* printf - format and print data
- Copyright (C) 1990-2004 Free Software Foundation, Inc.
+ Copyright (C) 1990-2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
static int
print_esc (const char *escstart, bool octal_0)
{
- register const char *p = escstart + 1;
+ const char *p = escstart + 1;
int esc_value = 0; /* Value of \nnn escape. */
int esc_length; /* Length of \nnn escape. */
valid number. Stuff the converted number into RESULT if RESULT is
not null. */
static bool
-is_int (register char *string, intmax_t *result)
+is_int (char *string, intmax_t *result)
{
int sign;
intmax_t value;
static bool
binary_operator (bool l_is_l)
{
- register int op;
+ int op;
struct stat stat_buf, stat_spare;
intmax_t l, r;
/* Is the right integer expression of the form '-l string'? */
/* whoami -- print effective userid
- Copyright (C) 89,90, 1991-1997, 1999-2002, 2004 Free Software
+ Copyright (C) 89,90, 1991-1997, 1999-2002, 2004, 2005 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
int
main (int argc, char **argv)
{
- register struct passwd *pw;
- register uid_t uid;
+ struct passwd *pw;
+ uid_t uid;
initialize_main (&argc, &argv);
program_name = argv[0];