From 41f97e2fed32496da010db6a1e472617d7ad11c1 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Sat, 3 Jul 2004 16:48:56 +0000 Subject: [PATCH] Replaced the time_t type with glibs GTime git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1785 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/screen.h | 9 +++++---- src/support.h | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/screen.h b/src/screen.h index d3cad8c..c725bb1 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 4182d2e..0a72e39 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; -- 2.30.2