diff options
author | harti <harti@FreeBSD.org> | 2004-12-07 13:49:13 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-12-07 13:49:13 +0000 |
commit | 23620cc24f850f14c0066dcac23f3991ba1b5b25 (patch) | |
tree | 56920a7ef5b24bec1022ce1711332864a400679e /usr.bin/make/job.h | |
parent | 9639eb3806e6d38cde75055a6f2150eb5028c844 (diff) | |
download | FreeBSD-src-23620cc24f850f14c0066dcac23f3991ba1b5b25.zip FreeBSD-src-23620cc24f850f14c0066dcac23f3991ba1b5b25.tar.gz |
Typedefs of pointers to structs are evil. Make Lst and LstNode typedef of
the structs itself not of pointers to them. This will simplify constification.
Checked by: diff on the object files
Diffstat (limited to 'usr.bin/make/job.h')
-rw-r--r-- | usr.bin/make/job.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/job.h b/usr.bin/make/job.h index 82cc3d6..33c9923 100644 --- a/usr.bin/make/job.h +++ b/usr.bin/make/job.h @@ -96,7 +96,7 @@ typedef struct Job { char tfile[sizeof(TMPPAT)]; /* Temporary file to use for job */ GNode *node; /* The target the child is making */ - LstNode tailCmds; /* The node of the first command to be + LstNode *tailCmds; /* The node of the first command to be * saved when the job has been run */ FILE *cmdFILE; /* When creating the shell script, this is * where the commands go */ |