From 240399534c9b329437209dcac0efe86556f232c3 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 10 Apr 2007 14:03:37 +0000 Subject: [PATCH] int -> time_t --- src/librc-depend.c | 2 +- src/runscript.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librc-depend.c b/src/librc-depend.c index 9c3a9c3f..93cc1f5c 100644 --- a/src/librc-depend.c +++ b/src/librc-depend.c @@ -514,7 +514,7 @@ char **rc_order_services (rc_depinfo_t *deptree, const char *runlevel, static bool is_newer_than (const char *file, const char *target) { struct stat buf; - int mtime; + time_t mtime; if (stat (file, &buf) != 0 || buf.st_size == 0) return (false); diff --git a/src/runscript.c b/src/runscript.c index 70db2cdf..721b967c 100644 --- a/src/runscript.c +++ b/src/runscript.c @@ -175,7 +175,7 @@ static bool in_control () path = rc_strcatpaths (RC_SVCDIR, tests[i], applet, (char *) NULL); if (rc_exists (path)) { - int m = get_mtime (path, false); + time_t m = get_mtime (path, false); if (mtime < m && m != 0) { free (path);