diff options
| author | Roy Marples <roy@marples.name> | 2007-11-07 20:59:52 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-11-07 20:59:52 +0000 |
| commit | 348016d0ac49d1252d523c362940a2aa1e7e4e2f (patch) | |
| tree | c6ca82df95d3741138340b804a4c20e18d54abf5 /common.c | |
| parent | 6557f5cc3ec255bc213a2bd65dca9577ffa8454a (diff) | |
| download | dhcpcd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -121,7 +121,7 @@ int get_time (struct timeval *tp) #endif } -time_t uptime (void) +long uptime (void) { struct timeval tp; |
