diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-13 10:05:30 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-13 10:05:30 +0000 |
commit | 64ca8195974724944e2d098ee0799ad511c8e949 (patch) | |
tree | dc49691f525cb13facff2b634c94329ec620d4ac /usr.bin/make/dir.c | |
parent | dfc0fa60ce59aa31e7d6748c59a5841db5f2ef52 (diff) | |
download | FreeBSD-src-64ca8195974724944e2d098ee0799ad511c8e949.zip FreeBSD-src-64ca8195974724944e2d098ee0799ad511c8e949.tar.gz |
De'register.
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index f20df20..b68ce05 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -296,7 +296,7 @@ Boolean Dir_HasWildcards (name) char *name; /* name to check */ { - register char *cp; + char *cp; for (cp = name; *cp; cp++) { switch(*cp) { @@ -667,12 +667,12 @@ Dir_FindFile (name, path) char *name; /* the file to find */ Lst path; /* the Lst of directories to search */ { - register char *p1; /* pointer into p->name */ - register char *p2; /* pointer into name */ + char *p1; /* pointer into p->name */ + char *p2; /* pointer into name */ LstNode ln; /* a list element */ - register char *file; /* the current filename to check */ - register Path *p; /* current path member */ - register char *cp; /* index of first slash, if any */ + char *file; /* the current filename to check */ + Path *p; /* current path member */ + char *cp; /* index of first slash, if any */ Boolean hasSlash; /* true if 'name' contains a / */ struct stat stb; /* Buffer for stat, if necessary */ Hash_Entry *entry; /* Entry for mtimes table */ @@ -1034,9 +1034,9 @@ Dir_AddDir (path, name) char *name; /* the name of the directory to add */ { LstNode ln; /* node in case Path structure is found */ - register Path *p; /* pointer to new Path structure */ + Path *p; /* pointer to new Path structure */ DIR *d; /* for reading directory */ - register struct dirent *dp; /* entry in directory */ + struct dirent *dp; /* entry in directory */ ln = Lst_Find (openDirectories, (void *)name, DirFindName); if (ln != NULL) { |