summaryrefslogtreecommitdiff
path: root/filedef.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
committerPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
commita4c7e4f057176ecda47d96314c2938b78ada71bf (patch)
tree0e83f1ad4a44542b088878e8b9d6de48f16e949d /filedef.h
parent2bfbffb163c0cdfce06ea31732a6289d26a2885a (diff)
downloadmake-a4c7e4f057176ecda47d96314c2938b78ada71bf.tar.gz
Many compiler warning cleanups.
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>) Maintainer enhancements to clean up the tree.
Diffstat (limited to 'filedef.h')
-rw-r--r--filedef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filedef.h b/filedef.h
index b7d6e676..b1d9b9a6 100644
--- a/filedef.h
+++ b/filedef.h
@@ -65,7 +65,7 @@ struct file
short int update_status; /* Status of the last attempt to update,
or -1 if none has been made. */
- enum /* State of the commands. */
+ enum cmd_state /* State of the commands. */
{ /* Note: It is important that cs_not_started be zero. */
cs_not_started, /* Not yet started. */
cs_deps_running, /* Dep commands running. */
@@ -108,7 +108,7 @@ extern void remove_intermediates PARAMS ((int sig));
extern void snap_deps PARAMS ((void));
extern void rename_file PARAMS ((struct file *file, char *name));
extern void rehash_file PARAMS ((struct file *file, char *name));
-extern void set_command_state PARAMS ((struct file *file, int state));
+extern void set_command_state PARAMS ((struct file *file, enum cmd_state state));
extern void notice_finished_file PARAMS ((struct file *file));
extern void init_hash_files PARAMS ((void));
extern char *build_target_list PARAMS ((char *old_list));