summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-04-07 01:43:44 +0000
committerPaul Smith <psmith@gnu.org>2006-04-07 01:43:44 +0000
commitf222b19158a91b121af29a6a8eb5d74aa591078a (patch)
treedffe00254df4fae89052c3a7af1eb0c92392d03f /remake.c
parent776d8b7bc2ff83f8ebf5d357ec89e3bbe6d83962 (diff)
downloadgunmake-f222b19158a91b121af29a6a8eb5d74aa591078a.tar.gz
Code cleanup: Remove all references to PARAMS() & ansi2knr.
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/remake.c b/remake.c
index a752734..044b49e 100644
--- a/remake.c
+++ b/remake.c
@@ -39,7 +39,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
#include <io.h>
#endif
-extern int try_implicit_rule PARAMS ((struct file *file, unsigned int depth));
+extern int try_implicit_rule (struct file *file, unsigned int depth);
/* The test for circular dependencies is based on the 'updating' bit in
@@ -60,13 +60,14 @@ unsigned int commands_started = 0;
/* Current value for pruning the scan of the goal chain (toggle 0/1). */
static unsigned int considered;
-static int update_file PARAMS ((struct file *file, unsigned int depth));
-static int update_file_1 PARAMS ((struct file *file, unsigned int depth));
-static int check_dep PARAMS ((struct file *file, unsigned int depth, FILE_TIMESTAMP this_mtime, int *must_make_ptr));
-static int touch_file PARAMS ((struct file *file));
-static void remake_file PARAMS ((struct file *file));
-static FILE_TIMESTAMP name_mtime PARAMS ((char *name));
-static int library_search PARAMS ((char **lib, FILE_TIMESTAMP *mtime_ptr));
+static int update_file (struct file *file, unsigned int depth);
+static int update_file_1 (struct file *file, unsigned int depth);
+static int check_dep (struct file *file, unsigned int depth,
+ FILE_TIMESTAMP this_mtime, int *must_make_ptr);
+static int touch_file (struct file *file);
+static void remake_file (struct file *file);
+static FILE_TIMESTAMP name_mtime (char *name);
+static int library_search (char **lib, FILE_TIMESTAMP *mtime_ptr);
/* Remake all the goals in the `struct dep' chain GOALS. Return -1 if nothing