summaryrefslogtreecommitdiffstats
path: root/common.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-07 20:59:52 +0000
committerRoy Marples <roy@marples.name>2007-11-07 20:59:52 +0000
commit348016d0ac49d1252d523c362940a2aa1e7e4e2f (patch)
treec6ca82df95d3741138340b804a4c20e18d54abf5 /common.c
parent6557f5cc3ec255bc213a2bd65dca9577ffa8454a (diff)
downloaddhcpcd-348016d0ac49d1252d523c362940a2aa1e7e4e2f.tar.xz
timeval defines seconds as long, so we should use long over time_t
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.c b/common.c
index 4fa3e52d..8aedb8d6 100644
--- a/common.c
+++ b/common.c
@@ -121,7 +121,7 @@ int get_time (struct timeval *tp)
#endif
}
-time_t uptime (void)
+long uptime (void)
{
struct timeval tp;