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
commitf29b86c314e6e2b44a1eb83f1b44a3849d82655e (patch)
tree0e83f1ad4a44542b088878e8b9d6de48f16e949d /filedef.h
parentbe8c3dbc974c35fac33c8392b89482c10e4f8650 (diff)
downloadgunmake-f29b86c314e6e2b44a1eb83f1b44a3849d82655e.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 b7d6e67..b1d9b9a 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));