[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lib/idcache.c: Remove all uses of the register keyword.
From: |
Jim Meyering |
Subject: |
lib/idcache.c: Remove all uses of the register keyword. |
Date: |
Mon, 20 Nov 2006 10:31:15 +0100 |
Another syntax-only change:
* lib/idcache.c (getuser): Remove all uses of the register keyword.
(getuidbyname, getgroup, getgidbyname): Likewise.
Index: lib/idcache.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/idcache.c,v
retrieving revision 1.20
diff -u -r1.20 idcache.c
--- lib/idcache.c 20 Nov 2006 09:25:38 -0000 1.20
+++ lib/idcache.c 20 Nov 2006 09:30:32 -0000
@@ -54,7 +54,7 @@
char *
getuser (uid_t uid)
{
- register struct userid *tail;
+ struct userid *tail;
struct passwd *pwent;
for (tail = user_alist; tail; tail = tail->next)
@@ -80,7 +80,7 @@
uid_t *
getuidbyname (const char *user)
{
- register struct userid *tail;
+ struct userid *tail;
struct passwd *pwent;
for (tail = user_alist; tail; tail = tail->next)
@@ -130,7 +130,7 @@
char *
getgroup (gid_t gid)
{
- register struct userid *tail;
+ struct userid *tail;
struct group *grent;
for (tail = group_alist; tail; tail = tail->next)
@@ -156,7 +156,7 @@
gid_t *
getgidbyname (const char *group)
{
- register struct userid *tail;
+ struct userid *tail;
struct group *grent;
for (tail = group_alist; tail; tail = tail->next)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lib/idcache.c: Remove all uses of the register keyword.,
Jim Meyering <=