Use time_t for system time values

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer
2019-01-14 06:01:21 +01:00
parent 51f17fb9c6
commit 03340db72e
9 changed files with 129 additions and 129 deletions

View File

@@ -98,7 +98,7 @@ unsigned notify_needs_reminder(void)
* Note: the mutex associated with this structure must be locked by the
* caller!
*/
void notify_update_app(long start, char state, char *msg)
void notify_update_app(time_t start, char state, char *msg)
{
notify_free_app();
notify_app.got_app = 1;
@@ -469,7 +469,7 @@ void notify_check_next_app(int force)
}
/* Check if the newly created appointment is to be notified. */
void notify_check_added(char *mesg, long start, char state)
void notify_check_added(char *mesg, time_t start, char state)
{
time_t current_time;
int update_notify = 0;
@@ -523,7 +523,7 @@ void notify_check_repeated(struct recur_apoint *i)
notify_update_bar();
}
int notify_same_item(long time)
int notify_same_item(time_t time)
{
int same = 0;