diff options
author | Roy Marples <roy@marples.name> | 2007-04-10 14:03:37 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-10 14:03:37 +0000 |
commit | 240399534c9b329437209dcac0efe86556f232c3 (patch) | |
tree | db4eb4cae1595b7eeeca4f0f9f07144e4baee683 | |
parent | 6f93566fc7e7c5b08120d4f82628e9ee8b554791 (diff) |
int -> time_t
-rw-r--r-- | src/librc-depend.c | 2 | ||||
-rw-r--r-- | 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); |