diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2007-01-30 15:32:31 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2007-01-30 15:32:31 +0000 |
commit | 7c88381a59771a3e0be35800af3496da1171e9a4 (patch) | |
tree | 06ec2e369b3fa856c249d0ea9983105eff489d37 /content/content.h | |
parent | f3e6ad3e9093bca4f8e053aa43ddf0631c9d4a18 (diff) | |
download | netsurf-7c88381a59771a3e0be35800af3496da1171e9a4.tar.gz netsurf-7c88381a59771a3e0be35800af3496da1171e9a4.tar.bz2 |
Make time taken that is displayed in status bar use gettimeofday()-based time rather than clock()-based time
svn path=/trunk/netsurf/; revision=3157
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content/content.h b/content/content.h index 268ba31a1..43f9243d3 100644 --- a/content/content.h +++ b/content/content.h @@ -16,7 +16,6 @@ #define _NETSURF_DESKTOP_CONTENT_H_ #include <stdint.h> -#include <time.h> #include "netsurf/utils/config.h" #include "netsurf/content/content_type.h" #include "netsurf/css/css.h" @@ -179,7 +178,7 @@ struct content { * shared between users. */ bool fresh; struct cache_data *cache_data; /**< Cache control data */ - clock_t time; /**< Creation time, if TYPE_UNKNOWN, + unsigned int time; /**< Creation time, if TYPE_UNKNOWN, LOADING or READY, otherwise total time. */ |