aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/dir.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-04-13 10:05:30 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-04-13 10:05:30 +0000
commita59e308cd714fe08531d16d8a5ebde8cd7b464fc (patch)
treedc49691f525cb13facff2b634c94329ec620d4ac /usr.bin/make/dir.c
parent46f905209dab4188d0b08579a0212aadfe3ea223 (diff)
Notes
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r--usr.bin/make/dir.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c
index f20df2039690a..b68ce05ef5504 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) {