From fa5269cf6f32de75c0f5aeb4e5945f0c3b687db6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 21 Feb 2005 08:08:38 +0000 Subject: [PATCH] (get_date): gettime now returns void, not int. --- lib/getdate.y | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/getdate.y b/lib/getdate.y index 4c59334bc3..57374f1d4f 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -1,6 +1,8 @@ %{ /* Parse a string into an internal time stamp. - Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. + + Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1125,8 +1127,7 @@ get_date (struct timespec *result, char const *p, struct timespec const *now) if (! now) { - if (gettime (&gettime_buffer) != 0) - return false; + gettime (&gettime_buffer); now = &gettime_buffer; } -- 2.47.3