diff options
author | Kalle Wallin <kaw@linux.se> | 2004-07-03 16:48:56 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-07-03 16:48:56 +0000 |
commit | 41f97e2fed32496da010db6a1e472617d7ad11c1 (patch) | |
tree | b9d6fed401fc1f18bdfe04403bd34e82994d4e88 /src | |
parent | 0f0719248b95bdc26b4c18b0b967140d82871a1a (diff) | |
download | mpd-41f97e2fed32496da010db6a1e472617d7ad11c1.tar.gz mpd-41f97e2fed32496da010db6a1e472617d7ad11c1.tar.xz mpd-41f97e2fed32496da010db6a1e472617d7ad11c1.zip |
Replaced the time_t type with glibs GTime
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/screen.h | 9 | ||||
-rw-r--r-- | src/support.h | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/screen.h b/src/screen.h index d3cad8cb2..c725bb13c 100644 --- a/src/screen.h +++ b/src/screen.h @@ -41,10 +41,11 @@ typedef struct GList *screen_list; - time_t start_timestamp; - time_t status_timestamp; - time_t input_timestamp; - command_t last_cmd; + /* GTime is equivalent to time_t */ + GTime start_timestamp; + GTime status_timestamp; + GTime input_timestamp; + GTime last_cmd; int cols, rows; diff --git a/src/support.h b/src/support.h index 4182d2e74..0a72e39b0 100644 --- a/src/support.h +++ b/src/support.h @@ -18,7 +18,7 @@ char *strcasestr(const char *haystack, const char *needle); typedef struct { int offset; - time_t t; + GTime t; /* GTime is equivalent to time_t */ } scroll_state_t; |