summaryrefslogtreecommitdiff
path: root/filedef.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-04-28 17:31:46 -0400
committerPaul Smith <psmith@gnu.org>2013-04-28 17:31:46 -0400
commit8b034b7d18a08d3a2378e5b6fc9fbdd1b658f142 (patch)
tree6e30929c6b4e65c68fb7b81faf1d48035cb605ec /filedef.h
parent93843ccd08a8d4dff64c5fb52701e150b35c959d (diff)
downloadgunmake-8b034b7d18a08d3a2378e5b6fc9fbdd1b658f142.tar.gz
Small cleanups and fixes.
Diffstat (limited to 'filedef.h')
-rw-r--r--filedef.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/filedef.h b/filedef.h
index 2749738..b6ba242 100644
--- a/filedef.h
+++ b/filedef.h
@@ -28,13 +28,9 @@ struct file
const char *vpath; /* VPATH/vpath pathname */
struct dep *deps; /* all dependencies, including duplicates */
struct commands *cmds; /* Commands to execute for this target. */
- int command_flags; /* Flags OR'd in for cmds; see commands.h. */
const char *stem; /* Implicit stem, if an implicit
rule has been used */
struct dep *also_make; /* Targets that are made by making this. */
- FILE_TIMESTAMP last_mtime; /* File's modtime, if already known. */
- FILE_TIMESTAMP mtime_before_update; /* File's modtime before any updating
- has been performed. */
struct file *prev; /* Previous entry for same file name;
used when there are multiple double-colon
entries for the same file. */
@@ -59,7 +55,11 @@ struct file
the same file. Otherwise this is null. */
struct file *double_colon;
- short int update_status; /* Status of the last attempt to update,
+ FILE_TIMESTAMP last_mtime; /* File's modtime, if already known. */
+ FILE_TIMESTAMP mtime_before_update; /* File's modtime before any updating
+ has been performed. */
+ int command_flags; /* Flags OR'd in for cmds; see commands.h. */
+ char update_status; /* Status of the last attempt to update,
or -1 if none has been made. */
enum cmd_state /* State of the commands. */
{ /* Note: It is important that cs_not_started be zero. */